class sys.net.UdpSocket extends Socket
Available on cpp, neko, php
A UDP socket class
function new():Void
function readFrom(buf:Bytes, pos:Int, len:Int, addr:Address):Int
Reads data from any incoming address and store the receiver address into the address parameter.
function sendTo(buf:Bytes, pos:Int, len:Int, addr:Address):Int
Sends data to the specified target host/port address.