Available on jvm
new()
fd:FileDescriptor
localPort:Int
socket:DatagramSocket
bind(param1:Int, param2:InetAddress):Void
close():Void
connect(param1:InetAddress, param2:Int):Void
create():Void
dataAvailable():Int
disconnect():Void
getDatagramSocket():DatagramSocket
getFileDescriptor():FileDescriptor
getLocalPort():Int
getOption<T>(param1:SocketOption<T>):T
getTTL():Int8
getTimeToLive():Int
join(param1:InetAddress):Void
joinGroup(param1:SocketAddress, param2:NetworkInterface):Void
leave(param1:InetAddress):Void
leaveGroup(param1:SocketAddress, param2:NetworkInterface):Void
peek(param1:InetAddress):Int
peekData(param1:DatagramPacket):Int
receive(param1:DatagramPacket):Void
send(param1:DatagramPacket):Void
setDatagramSocket(param1:DatagramSocket):Void
setOption<T>(param1:SocketOption<T>, param2:T):Void
setTTL(param1:Int8):Void
setTimeToLive(param1:Int):Void