network programming: how does s.accept() work?
roy at panix.com
Tue Feb 26 06:00:18 CET 2008
In article <mailman.1255.1203999457.9267.python-list at python.org>,
"Gabriel Genellina" <gagsl-py2 at yahoo.com.ar> wrote:
> En Mon, 25 Feb 2008 20:03:02 -0200, 7stud <bbxx789_05ss at yahoo.com>
> > On Feb 25, 10:56 am, Thomas Bellman <bell... at lysator.liu.se> wrote:
> >> 7stud <bbxx789_0... at yahoo.com> wrote:
> > In either case, there are still some things about the output that
> > don't make sense to me. Why does the server initially report that its
> > ip address is 0.0.0.0:
> > original socket: ('0.0.0.0', 5053)
> Because you called "bind" with None (or '' ?) as its first argument; that
> means: "listen on any available interface"
It really means, "Listen on ALL available interfaces".
More information about the Python-list