two questions - sockets / c functions

Laura Creighton lac at strakt.com
Mon Dec 10 14:47:47 EST 2001


The only thing Oleg forgot to tell you was that sockets don't work on
Windows, so if that was the client-server you wanted, then you need
threading instead.  You may, of course, have already known this.  If
you want a client server with threading you may be interested in:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965

which shows one way to do this.  There is nothing Tkinter specific 
about it, that is just what we use around here; you can use any other
gui or no gui at all if you like.  This one has the advantage of
being _simple_.  If you don't want a simple one, this could get
you started at least.

Laura Creighton




More information about the Python-list mailing list