def send(self, data):
        "Send a broadcast through the underlying socket."
        assert self.__sock.sendto(data, self.__addr) == len(data), \
               'Not all data was sent through the socket!'
Send a broadcast through the underlying socket.
recipes/Python/577950_Socket_Broadcast_Help/recipe-577950.py