Available on lua
static_DEBUG:Bool
static_VERSION:String
staticbind(address:String, port:Int, ?backlog:Int):Result<TcpServer>
staticconnect(address:String, port:Int, ?locaddr:String, ?locport:Int):Result<TcpClient>
staticgettime():Float
staticselect(recvt:Table<Int, Socket>, sendt:Table<Int, Socket>, ?timeout:Float):SelectResult
statictcp():Result<TcpMaster>
close():Void
getsockname():AddrInfo
settimeout(value:Float, ?mode:TimeoutMode):Void