def wait_send ( self , timeout = None ) : self . _send_queue_cleared . clear ( ) self . _send_queue_cleared . wait ( timeout = timeout )
python socket send without delay
Wait until all queued messages are sent .
def wait_send(self, timeout = None):
		"""Wait until all queued messages are sent."""
		self._send_queue_cleared.clear()
		self._send_queue_cleared.wait(timeout = timeout)