@:value(false)staticinlineread onlyALLOW_BIND:Bool = false
new()
read onlyinput:SocketInput
read onlyout:SocketOutput
timeout:Null<Float>
@:value({ listenCount : 5 })bind(host:String, port:Int, onConnect:Socket ‑> Void, listenCount:Int = 5):Void
close():Void
connect(host:String, port:Int, onConnect:() ‑> Void):Void
dynamiconData():Void
dynamiconError(msg:String):Void
set_timeout(t:Null<Float>):Null<Float>