package lua.lib.luasocket
extended by TcpClient, TcpMaster, TcpServer
Available on lua
static_DEBUG:Boolstatic_VERSION:Stringstaticbind(address:String, port:Int, ?backlog:Int):Result<TcpServer>staticconnect(address:String, port:Int, ?locaddr:String, ?locport:Int):Result<TcpClient>staticgettime():Floatstaticselect(recvt:Table<Int, Socket>, sendt:Table<Int, Socket>, ?timeout:Float):SelectResultstatictcp():Result<TcpMaster>close():Voidgetsockname():AddrInfosettimeout(value:Float, ?mode:TimeoutMode):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/lua/lib/luasocket/Socket.html