recvall()
Navkirat Singh
n4vpython at gmail.com
Sun May 15 05:00:14 EDT 2011
Hi All,
I am trying to program an HTTP webserver, I am a little confused about the
best way to program a recvall function. There are a couple of ways to do
this? But performance wise which one is better?
a) recvall using a timeout?
b) recvall using a condition that nothing was received?
c) recvall using a condition for it to wait for a CRLF or a timeout
whichever occurs first?
Any help would be appreciated.
Regards,
Nav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110515/65297cef/attachment.html>
More information about the Python-list
mailing list