Staging: this is not the live site, pydocs.org.
Returns a listener object.
This is a wrapper for a bound socket which is 'listening' for
connections, or for a Windows named pipe. Changed in 3.3 3.3: Listener objects now support the context management protocol – see Context Manager Types. __enter__() returns the listener object, and __exit__() calls close().Members of Listener a accept Accept a connection on the bound socket or named pipe of `self`. address The address which is being used by the Listener object. c close Close the bound socket or named pipe of `self`. l last_accepted The address from which the last accepted connection came.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF