Static variables

@:value(false)staticinlineread onlyALLOW_BIND:Bool = false

Constructor

new()

Variables

read onlyinput:SocketInput

read onlyout:SocketOutput

timeout:Null<Float>

Methods

@: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>