xmlrpc tutorial?

Skip Montanaro skip at pobox.com
Fri Nov 30 18:03:12 CET 2001


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

    Carsten> Nope, doesn't help. My code is:
    ...

In my server I override the server_bind method like so:

    def server_bind(self):
        self.socket.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)
        self.socket.bind(self.server_address)

Perhaps that will work for you.

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)




More information about the Python-list mailing list