Constructor

new(?socket:SysSocket)

Variables

socket:SysSocket

Methods

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

destroy():Void

@:value({ nbConnections : 1 })host(host:Host, port:Int, nbConnections:Int = 1):Void

hostAndWait(h:Host, port:Int):Socket

read():String

write(str:String):Bool