threading

Chris Angelico rosuav at gmail.com
Thu Apr 10 07:19:16 EDT 2014


On Thu, Apr 10, 2014 at 9:10 PM, Frank Millman <frank at chagford.com> wrote:
> You seem to be suggesting that I set the socket to 'non-blocking', use
> select() to determine when a client is trying to connect, and then call
> 'accept' on it to create a new connection.

Right! That's about how it goes. Of course, for production work you'll
want to wrap all that up for convenience, but fundamentally, that is
what happens.

ChrisA



More information about the Python-list mailing list