ID EN
Socket

gettimeout

Python 3.11

Return the timeout in seconds (float) associated with socket operations, or None if no timeout is set. This reflects the last call to setblocking() or settimeout().

Syntax

PYTHON
socket.gettimeout()

See Also

setblocking() settimeout()