ID EN
Socket

setblocking

Python 3.11

Set blocking or non-blocking mode of the socket: if flag is false, the socket is set to non-blocking, else to blocking mode.

Syntax

PYTHON
socket.setblocking(flag)

See Also

settimeout() SOCK_NONBLOCK socket.type