xmlrpc tutorial?

talon at www.tempestnetworks.net talon at www.tempestnetworks.net
Fri Nov 30 09:28:07 EST 2001


On Fri, 30 Nov 2001 15:22:21 +0100, Carsten Gaebler <clpy at snakefarm.org> wrote:
>Dave Butler wrote:
>
>> http://www.onlamp.com/pub/a/python/2000/11/22/xmlrpcclient.html
>
>Thanks for the link. The corresponding server documentation is exactly
>what I was looking for:
>http://www.onlamp.com/pub/a/python/2001/01/17/xmlrpcserver.html
>
>However, there seems to be a problem with restarting the server. I
>have to wait a minute or so to avoid an 'address is already in use'
>error. I vaguely remember this has been addressed in the past on
>c.l.py. Is there any solution?
>
>cg.
>-- 
>For dealing with Matrix you need something more powerful than Python.
>Otherwise ... Matrix has you!         -- scenes from comp.lang.python

Use the setsockopt function on the socket objet, pass it the value
SO_REUSEADDR (defined in the socket module).

HTH,
Steve

-- 
--

Visits always give pleasure: if not on arrival, then on the departure.
		-- Edouard Le Berquier, "Pensees des Autres"



More information about the Python-list mailing list