Available on java
@:throws("java.io.IOException")bind(param1:SocketAddress):NetworkChannel
@:throws("java.lang.Exception")close():Void
@:throws("java.io.IOException")getLocalAddress():SocketAddress
@:throws("java.io.IOException")getOption<T>(param1:SocketOption<T>):T
isOpen():Bool
@:throws("java.io.IOException")setOption<T>(param1:SocketOption<T>, param2:T):NetworkChannel
supportedOptions():Set<SocketOption<Dynamic>>