DatagramPacket

package java.net

Available on java

Constructor

new(param1:NativeArray<Int8>, param2:Int, param3:SocketAddress)

new(param1:NativeArray<Int8>, param2:Int, param3:Int)

new(param1:NativeArray<Int8>, param2:Int)

new(param1:NativeArray<Int8>, param2:Int, param3:Int, param4:InetAddress, param5:Int)

new(param1:NativeArray<Int8>, param2:Int, param3:Int, param4:SocketAddress)

new(param1:NativeArray<Int8>, param2:Int, param3:InetAddress, param4:Int)

Methods

getAddress():InetAddress

getData():NativeArray<Int8>

getLength():Int

getOffset():Int

getPort():Int

getSocketAddress():SocketAddress

setAddress(param1:InetAddress):Void

setData(param1:NativeArray<Int8>):Void

setData(param1:NativeArray<Int8>, param2:Int, param3:Int):Void

setLength(param1:Int):Void

setPort(param1:Int):Void

setSocketAddress(param1:SocketAddress):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/net/DatagramPacket.html