Merged revisions 70960 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70960 | jesse.noller | 2009-04-01 11:42:19 -0500 (Wed, 01 Apr 2009) | 1 line

  Issue 3270: document Listener address restrictions on windows
........
This commit is contained in:
Jesse Noller 2009-04-01 16:44:24 +00:00
parent 1b564a4639
commit 3e7a65f565

View file

@ -1697,6 +1697,12 @@ authentication* using the :mod:`hmac` module.
*address* is the address to be used by the bound socket or named pipe of the *address* is the address to be used by the bound socket or named pipe of the
listener object. listener object.
.. note::
If an address of '0.0.0.0' is used, the address will not be a connectable
end point on Windows. If you require a connectable end-point,
you should use '127.0.0.1'.
*family* is the type of socket (or named pipe) to use. This can be one of *family* is the type of socket (or named pipe) to use. This can be one of
the strings ``'AF_INET'`` (for a TCP socket), ``'AF_UNIX'`` (for a Unix the strings ``'AF_INET'`` (for a TCP socket), ``'AF_UNIX'`` (for a Unix
domain socket) or ``'AF_PIPE'`` (for a Windows named pipe). Of these only domain socket) or ``'AF_PIPE'`` (for a Windows named pipe). Of these only