PyDocs

Nav

Networking and Interprocess Communication

poll

select

functionUnix
  • poll()
Returns a polling object.

This object supports registering and unregistering file descriptors, and
then polling them for I/O events.
Members of poll

m

modify
Modifies an already registered fd.

p

poll
Polls the set of registered file descriptors, and returns a possibly empty list containing (fd, event) 2-tuples for the descriptors that have events or errors to report.

r

register
Register a file descriptor with the polling object.

u

unregister
Remove a file descriptor being tracked by a polling object.
0 Examples
No examples for select/poll.
See Also
No see-alsos for select/poll
0 Notes
No notes for poll