bind

suspend fun bind(address: InetSocketAddress)

Binds the socket to a local address.

See Also: srt_bind

Parameters

address

the InetSocketAddress to bind to

Throws

if bind has failed