Abstract so that we can use haxe.io.Socket or openfl.netSocket if available and not disabled

Static variables

Static methods

staticinlineconnect(this:Socket, host:String, port:Int):Void

staticinlineread(this:Socket, nbytes:Int):Bytes

staticinlinereadInt32(this:Socket):Int

staticinlinewrite(this:Socket, bytes:Bytes):Void

staticinlinewriteInt32(this:Socket, val:Int):Void