[Chicago] Socket question
deadwisdom at gmail.com
deadwisdom at gmail.com
Thu Dec 3 23:13:55 CET 2009
Yes, I suppose that's true. You don't have to block on reading.
With Eventlet, though, you have a sort of free, easy threading that makes
it even easier to do.
On Dec 3, 2009 3:05pm, Ed Marshall <esm at logic.net> wrote:
> On Thu, Dec 3, 2009 at 3:02 PM, deadwisdom at gmail.com> wrote:
> You can't be reading from both at the same time, though. It blocks while
> it's reading. You'll have to create a new thread or use Eventlet
> (http://eventlet.net/), which is currently my favorite python library
> ever. Damn is it cool.
> http://docs.python.org/library/select.html
> http://docs.python.org/library/asyncore.html
> http://docs.python.org/library/asynchat.html
> :-)
> --
> Ed Marshall esm at logic.net>
> Felix qui potuit rerum cognoscere causas.
> http://esm.logic.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20091203/796042fb/attachment.htm>
More information about the Chicago
mailing list