Tcp

package lua.lib.luv.net

extends StreamHandle

Available on lua

Static methods

staticnew_tcp():Tcp

Constructor

new()

Methods

bind(address:String, port:Int):Int

connect(host:String, port:Int, cb:(String, Bool) ‑> Void):Int

getpeername():String

getsockname():Int

keepalive(enable:Bool, ?delay:Int):Int

nodelay(enable:Bool):Int

open(sock:Int):Int

simultaneous_accepts(enable:Bool):Int

write_queue_size():Int

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/lua/lib/luv/net/Tcp.html