W3cubDocs

/Haxe Java

Socket

package java.net

implements Closeable

Available on java

Constructor

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

new ()

new (param1:Proxy)

private new (param1:SocketImpl)

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)

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

Static methods

static setSocketImplFactory (param1:SocketImplFactory):Void

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