DatagramSocket

package java.net

implements Closeable

Available on java

Static methods

staticsetDatagramSocketImplFactory(param1:DatagramSocketImplFactory):Void

Constructor

new(param1:Int, param2:InetAddress)

new()

new(param1:SocketAddress)

new(param1:Int)

Methods

bind(param1:SocketAddress):Void

close():Void

connect(param1:SocketAddress):Void

connect(param1:InetAddress, param2:Int):Void

disconnect():Void

getBroadcast():Bool

getChannel():DatagramChannel

getInetAddress():InetAddress

getLocalAddress():InetAddress

getLocalPort():Int

getLocalSocketAddress():SocketAddress

getPort():Int

getReceiveBufferSize():Int

getRemoteSocketAddress():SocketAddress

getReuseAddress():Bool

getSendBufferSize():Int

getSoTimeout():Int

getTrafficClass():Int

isBound():Bool

isClosed():Bool

isConnected():Bool

receive(param1:DatagramPacket):Void

send(param1:DatagramPacket):Void

setBroadcast(param1:Bool):Void

setReceiveBufferSize(param1:Int):Void

setReuseAddress(param1:Bool):Void

setSendBufferSize(param1:Int):Void

setSoTimeout(param1:Int):Void

setTrafficClass(param1:Int):Void

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