TcpClient
package lua.lib.luasocket.socket
extends Socket
Available on lua
Methods
getpeername():AddrInfo
receive(pattern:EitherType<ReceivePattern, Int>, ?prefix:String):Result<String>
send(data:String, ?i:Int, ?j:Int):Result<Int>
setoption(option:TcpOption, value:EitherType<Bool, {timeout:Float, on:Bool}>):Void
shutdown(mode:ShutdownMode):Result<Int>
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/lua/lib/luasocket/socket/TcpClient.html