W3cubDocs

/Haxe

Tcp

package lua.lib.luv.net

extends StreamHandle

Available on lua

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

Static methods

static new_tcp ():Tcp

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