SocketChannel

package java.nio.channels

extends AbstractSelectableChannelSelectableChannelAbstractInterruptibleChannel

implements ByteChannel, ScatteringByteChannel, GatheringByteChannel, NetworkChannel

Available on java

Static methods

staticopen(param1:SocketAddress):SocketChannel

staticopen():SocketChannel

Methods

bind(param1:SocketAddress):SocketChannel

connect(param1:SocketAddress):Bool

finishConnect():Bool

getLocalAddress():SocketAddress

getOption<T>(param1:SocketOption<T>):T

getRemoteAddress():SocketAddress

isConnected():Bool

isConnectionPending():Bool

finalread(param1:NativeArray<ByteBuffer>):Int64

read(param1:ByteBuffer):Int

read(param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64

setOption(param1:SocketOption<Dynamic>, param2:Dynamic):NetworkChannel

setOption<T>(param1:SocketOption<T>, param2:T):SocketChannel

shutdownInput():SocketChannel

shutdownOutput():SocketChannel

socket():Socket

supportedOptions():Set<SocketOption<Dynamic>>

finalwrite(param1:NativeArray<ByteBuffer>):Int64

write(param1:ByteBuffer):Int

write(param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64

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