Server Socket example
giacomo
mauguet_po at yahoo.fr
Fri May 16 09:04:56 EDT 2003
Hello,
To the people like me, who want to begin whith the network programming
in Pyhton, this is a link (thanks David Shaffer, the author) of a Talk
server (multi-client) with thread, etc..
It uses the SocketServer.ThreadingTCPServer class.
http://www.cs.westminster.edu/~shaffer/DistributedComputing/WS99Part1/Code/Python/Talk/
class : TalkClient.py, TalkChannel.py, TalkServer.py
But there is a pb in the script for win:
inputFrom, dummy, dummy = select([con, sys.stdin], [], [])
select doesn't work with sys.stdin in windows
How to modify this script for win?
Any ideas?
More information about the Python-list
mailing list