lib.luv.net.Tcp

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部