Issue 3270: document Listener address restrictions on windows

This commit is contained in:
Jesse Noller 2009-04-01 16:42:19 +00:00
parent feab33418d
commit b12e79da1b
1 changed files with 6 additions and 0 deletions

View File

@ -1705,6 +1705,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