chat server

Henning Peters pete at dexterslab.de
Thu Mar 28 19:14:17 EST 2002


hi pythonists,

i am planning to write a small chat server that uses select() in python.
multiple clients should be able to connect and chat wih each other - like on
a normal chatserver, just asynchronous...

my current problem is, that i have no clue how to implement the
communication between the sockets (a chat message should be directed to all
other connected clients).

is this possible to implement with select() or should it be better to use
the good old fork() each time, a client connects and implement interprocess
communication via pipelines or shared memory?!

btw: does anybody knows a good documentation about select() and related
themes - i've already read http://www.nightmare.com/medusa/programming.html.

bye,
henning peters




More information about the Python-list mailing list