PyDocs

Nav

Concurrent Execution

Listener

  • Listener([address[, family[, backlog[, authkey]]]])
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.
0 Examples
No examples for multiprocessing.connection/Listener.
See Also
No see-alsos for multiprocessing.connection/Listener
0 Notes
No notes for Listener