HaxeAPI
  • Version development @ b6b8925
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.6
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact

class DatagramSocketImpl

package java.net

implements SocketOptions

@:native("java.net.DatagramSocketImpl")@:libType

Available on jvm

Constructor

new()

Variables

fd:FileDescriptor

localPort:Int

socket:DatagramSocket

Methods

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

Deprecated:

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

Deprecated:

setTimeToLive(param1:Int):Void

This documentation is generated for version development @ b6b8925

© 2024  Haxe Foundation | Contribute to Haxe