Update.
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// retoor <retoor@molodetz.nl>
|
||||
|
||||
import "udp" for UdpSocket
|
||||
|
||||
var socket = UdpSocket.new()
|
||||
socket.bind("0.0.0.0", 0)
|
||||
socket.setBroadcast(true)
|
||||
System.print("broadcast enabled") // expect: broadcast enabled
|
||||
socket.close()
|
||||
Reference in New Issue
Block a user