W3cubDocs

/Haxe Java

Socket

package java.net

implements Closeable

Available on java

Static methods

staticsetSocketImplFactory(param1:SocketImplFactory):Void

Constructor

new(param1:InetAddress, param2:Int, param3:Bool)

new()

new(param1:Proxy)

new(param1:String, param2:Int)

new(param1:InetAddress, param2:Int)

new(param1:String, param2:Int, param3:InetAddress, param4:Int)

new(param1:InetAddress, param2:Int, param3:InetAddress, param4:Int)

new(param1:String, param2:Int, param3:Bool)

Deprecated:

Methods

bind(param1:SocketAddress):Void

close():Void

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

connect(param1:SocketAddress):Void

getChannel():SocketChannel

getInetAddress():InetAddress

getInputStream():InputStream

getKeepAlive():Bool

getLocalAddress():InetAddress

getLocalPort():Int

getLocalSocketAddress():SocketAddress

getOOBInline():Bool

getOutputStream():OutputStream

getPort():Int

getReceiveBufferSize():Int

getRemoteSocketAddress():SocketAddress

getReuseAddress():Bool

getSendBufferSize():Int

getSoLinger():Int

getSoTimeout():Int

getTcpNoDelay():Bool

getTrafficClass():Int

isBound():Bool

isClosed():Bool

isConnected():Bool

isInputShutdown():Bool

isOutputShutdown():Bool

sendUrgentData(param1:Int):Void

setKeepAlive(param1:Bool):Void

setOOBInline(param1:Bool):Void

setPerformancePreferences(param1:Int, param2:Int, param3:Int):Void

setReceiveBufferSize(param1:Int):Void

setReuseAddress(param1:Bool):Void

setSendBufferSize(param1:Int):Void

setSoLinger(param1:Bool, param2:Int):Void

setSoTimeout(param1:Int):Void

setTcpNoDelay(param1:Bool):Void

setTrafficClass(param1:Int):Void

shutdownInput():Void

shutdownOutput():Void

toString():String

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