asyncore.dispatcher.handle_write()

handle_write()

Called when the asynchronous loop detects that a writable socket can be written. Often this method will implement the necessary buffering for performance. For example:

def handle_write(self):
    sent = self.send(self.buffer)
    self.buffer = self.buffer[sent:]
doc_python
2016-10-07 17:27:10
Comments
Leave a Comment

Please login to continue.