class java.nio.channels.SocketChannel extends AbstractSelectableChannel implements ByteChannel implements ScatteringByteChannel implements GatheringByteChannel implements NetworkChannel

Available on java

Class Fields

static function open():SocketChannel

static function open(param1:SocketAddress):SocketChannel

Instance Fields

function connect(param1:SocketAddress):Bool

function finishConnect():Bool

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

function isConnected():Bool

function read(param1:ByteBuffer):Int

function read(param1:NativeArray<ByteBuffer>):Int64

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

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

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

function socket():Socket

function validOps():Int

function write(param1:ByteBuffer):Int

function write(param1:NativeArray<ByteBuffer>):Int64

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