ID EN
Socket

bind

Python 3.11

Bind the socket to address. The socket must not already be bound. (The format of address depends on the address family — see above.)

Syntax

PYTHON
socket.bind(address)

See Also

auditing event Availability