This commit is contained in:
2026-01-25 13:09:28 +01:00
parent 90618f2336
commit a830238d11
72 changed files with 4332 additions and 643 deletions
+11
View File
@@ -0,0 +1,11 @@
// retoor <retoor@molodetz.nl>
import "udp" for UdpSocket
var socket = UdpSocket.new()
socket.bind("127.0.0.1", 0)
System.print(socket.localAddress) // expect: 127.0.0.1
System.print(socket.localPort > 0) // expect: true
socket.close()