Multi-homed socket server?

the maddman maddman at maddman.org
Wed Oct 25 16:58:40 EDT 2000


    I'm trying to write a multi-threaded Python server, and it's been
surprisingly easy so far, but I want to bind the socket to any address,
not just the address I get back from DNS.  I tried binding to
'INADDR_ANY' but that didn't work.  I have DSL with PPPoE, so one IP
could change while the server is running, and I need it to work after
that.  Any one got some good sample code that I could learn from?




More information about the Python-list mailing list