[Tutor] Socket Programming

Kent Johnson kent37 at tds.net
Sun Jul 31 15:48:11 CEST 2005


Joseph Quigley wrote:
> I have no idea how to get the server to receive and print a message or 
> for the client to send the message. Does anyone know of some good python 
> networking tutorials designed for newbies? (Not ones on 
> www.awaretek.com. They seem to expect you to know some things that I 
> don't even know about.)

Python in a Nutshell shows several ways to write a simple echo server in Python using bare TCP sockets and higher-level libraries. The examples are available online (chapter 19). 
http://www.oreilly.com/catalog/pythonian/

There is a book on Python Network Programming, it's on sale at Bookpool: http://www.bookpool.com/sm/1590593715

Kent



More information about the Tutor mailing list