March 2003
Intermediate to advanced
656 pages
39h 30m
English
set_timeout
t.set_timeout(s)Sets the timeout value of t to
s seconds. s is
a float or None.
The default timeout value of each new instance
t of TimeoutSocket is
None, meaning that there is no
timeout—t behaves like an ordinary
socket instance. To change this, module
timeoutsocket supplies two functions.