setBroadcast

open fun setBroadcast(broadcast: Boolean)

Sets whether @socket should allow sending to broadcast addresses. This is false by default.

Since

2.32

Parameters

broadcast

whether @socket should allow sending to broadcast addresses