[Tutor] SocketObject.close() question

Jrg Wlke lumbricus@gmx.net
Wed, 13 Feb 2002 17:52:02 +0100 (MET)


> Hello tutors,
> 
> to restart the xmlrpc-Server on the same port i get the message  
> socket.error: (48, 'Address already in use'). After 1-2 minutes its 
> 
> possible to reuse the server on that port again ? Is this behavior 
> considered normal 

yes.

> or am I wrong in closing the socket by using 
> socket.close() ?
> Im on a Mac OsX 10.1.2 - is this a system library dependent behaviour 
> ?

man setsockopts 
/SO_REUSEADDR

IIRC

> thanks for your support,, andreas
> 

HTH,HAND
and Greetings J"o!

-- 
$ make LOVE
Make: Don't know how to make LOVE.  Stop.
$

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net