Help! string from buffer to socket
kragen at pobox.com
Wed Dec 5 10:57:05 CET 2001
cat_stack at erraticimpact.zzn.com (cat3) writes:
> I'm trying to write a class that allows arbitrary strings to be added
> to the data to be sent on a socket. A certain amount of data will be
> collected from the buffer when the socket is ready for sending. I
> don't have lots of network or OOP experience, but am trying to get a
> simple class together that can do this.
Before I read and debug your code, why aren't you using
asyncore.dispatcher_with_send from the standard library?
More information about the Python-list