Static methods

staticselect(read:Array<Socket>, write:Array<Socket>, others:Array<Socket>, ?timeout:Float):{write:Array<Socket>, read:Array<Socket>, others:Array<Socket>}

Constructor

new()

Methods

bind(host:Int, port:Int):Void

connect(host:Int, port:Int):Void

host():{port:Int, ip:Int}

listen(connections:Int):Void

peer():{port:Int, ip:Int}

receive(buf:Bytes, pos:Int, len:Int):Int

send(buf:Bytes, pos:Int, len:Int):Int

shutdown(read:Bool, write:Bool):Void