Title: User's Guide:i2p.select
Module i2p.select
emulates the Python module select
.
With this module, a program can perform select and poll commands on traditional and I2P sockets.
'''poll'''()
Returns a polling object. Works on SAM sockets and Python sockets.
See [http://www.python.org/doc/current/lib/module-select.html select.poll()] in the Python library for more information.
'''select'''(readlist, writelist, errlist, timeout=None)
Performs a select call. Works on SAM sockets and Python sockets.
See [http://www.python.org/doc/current/lib/module-select.html select.select()] in the Python library for more information.
'''Polling flags'''
POLLIN = 1
POLLOUT = 4
POLLERR = 8
POLLHUP = 16
POLLNVAL = 32
POLLPRI = 1