En Fri, 30 Jan 2009 10:44:22 -0200, Gabriel Genellina
escribió:
Sorry the duplicate post! I've seen that some of my messages come twice.
I'll try to diagnose and fix the problem (if possible...).
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list
En Fri, 30 Jan 2009 10:16:42 -0200, Giampaolo Rodola'
escribió:
On 30 Gen, 10:16, "Gabriel Genellina" wrote:
En Fri, 30 Jan 2009 05:43:33 -0200, Mabooka-Mabooka Mbe-Mbe
escribió:
> setsockopt(REUSEADDR)...
s.allow_reuse_address=1
> should do the trick.
It's too late then; bind()
En Fri, 30 Jan 2009 10:16:42 -0200, Giampaolo Rodola'
escribió:
On 30 Gen, 10:16, "Gabriel Genellina" wrote:
En Fri, 30 Jan 2009 05:43:33 -0200, Mabooka-Mabooka Mbe-Mbe
escribió:
> setsockopt(REUSEADDR)...
s.allow_reuse_address=1
> should do the trick.
It's too late then; bind()
On 30 Gen, 10:16, "Gabriel Genellina" wrote:
> En Fri, 30 Jan 2009 05:43:33 -0200, Mabooka-Mabooka Mbe-Mbe
> escribió:
>
> > setsockopt(REUSEADDR)...
>
> > What I came up with so far is this:
> from SocketServer import *
> s = TCPServer( ('', 32123), None)
> dir(s)
> > ['Reques
En Fri, 30 Jan 2009 05:43:33 -0200, Mabooka-Mabooka Mbe-Mbe
escribió:
setsockopt(REUSEADDR)...
What I came up with so far is this:
from SocketServer import *
s = TCPServer( ('', 32123), None)
dir(s)
['RequestHandlerClass', '__doc__', '__init__', '__module__',
'address_family', 'allow_re
Hi all,
I bet everybody knows exactly what I am about to ask about:
'''
A server serves for a while, then drops on its knees, tries to restart, but...
the port is busy, the TCP says "Address already in use".
'''
And, I think I know the answer:
setsockopt(REUSEADDR)...
The problem is: I a