sockets: client dies...
Donn Cave
donn at u.washington.edu
Tue Jan 30 12:16:12 EST 2001
Quoth Keith Murphy <kpmurphy at my-deja.com>:
| my major problem is that this is all fine and dandy, with one client and
| one server... but what happens when you have multiple clients on a
| single server? you get hung up waiting for responses from each client.
| i guess you could spawn a new thread for each client... is there a
| better way to do this?
Yes, select(), asyncore, SocketServer to name a few. Check it out.
More information about the Python-list
mailing list