socket.setBroadcast(flag)
-
flag
<Boolean>
Sets or clears the SO_BROADCAST
socket option. When set to true
, UDP packets may be sent to a local interface's broadcast address.
socket.setBroadcast(flag)
flag
<Boolean>
Sets or clears the SO_BROADCAST
socket option. When set to true
, UDP packets may be sent to a local interface's broadcast address.
Designed by : w10schools
service@w10schools.com
Please login to continue.