[Python-au] Socket Server

Garth Kidd garth@deadlybloodyserious.com
Wed, 22 Jan 2003 14:47:40 +1100


> Any recommendations on how to have a stable Socket server, 
> when I kill my client the server crashes with an exception 
> (connection reset by peer) is there a way around this 
> i.e what good checks should be in place

Well, the first step is to catch the exception. :) 

Then, wade into #python on irc.freenode.net, and I'm sure they'll clear
up the rest for you pretty fast. 

Wade into #twisted on the same network, and they'll even show you how to
use Twisted to do all the hard socket handling work for you, so you can
concentrate on your application. 

Regards,
Garth.