setReuseAddress

abstract suspend fun setReuseAddress(reuse: Boolean)

Sets the SO_REUSEADDR option.

Parameters

reuse

The value to set.

Throws

if an I/O error occurs.