LAN communication under windows
TeaAndBikkie
teaandbikkie at aol.com
Thu Nov 28 11:26:07 EST 2002
>From: stojek at part-gmbh.de (Marcus Stojek)
>for a little (net) game i am planning, i have to write two components,
>a client and a server module. If one of the gamers starts the
>clientmodule on his machine this prog has to connect to the server,
>register itself with the username and receive a list of users that
>have their client module running. When exiting the client module it
>has to unregister at the server module. So nothing very special.
>
>Except that I have no idea how to start or where to look? Do I have to
>use services or sockets or something else? I am sure there is a simple
>example somewhere, but i can't find it.
The following recipes are a bit of a start.
Python Cookbook -- Message Passing With Socket Datagrams (by Jeff Bauer)
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52218
Python Cookbook -- PyHeartBeat - detecting inactive computers (by Nicola
Larosa)
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52302
--Misha
More information about the Python-list
mailing list