Threading and TCP server

Ehab Teima ehab_teima at hotmail.com
Fri Feb 7 14:01:40 EST 2003


"Dennis Reinhardt" <DennisR at dair.com> wrote in message news:<SNE0a.640$hI6.63449303 at newssvr14.news.prodigy.com>...
> >  Is there a
> > way to make the server alert without disconnecting the client that
> > casues the long delays.
> 
> Spawn a new thread to process the socket connection to the client.  Have the
> wait forever process acquire a new socket to listen.  The processing thread
> releases its socket when finished.

That does sound good to me. I'll let you know how it goes.

Ehab




More information about the Python-list mailing list