package sys.net
extends Socket
Available on php, neko, cpp, macro, java, lua, python, hl
A UDP socket class
new()readFrom(buf:Bytes, pos:Int, len:Int, addr:Address):IntReads data from any incoming address and store the receiver address into the address parameter.
sendTo(buf:Bytes, pos:Int, len:Int, addr:Address):IntSends data to the specified target host/port address.
setBroadcast(b:Bool):VoidAllows the socket to send to broadcast addresses.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/sys/net/UdpSocket.html