lib.luv.net.Udp

Udp

package lua-lib-luv-net

extends Handle

Available on lua

Constructor

new ()

Methods

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

getsockname ():String

open (fd:Int):Int

recv_start (cb:String ‑> Bool ‑> Void):Int

recv_stop ():Int

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

set_broadcast (on:Bool):Int

set_membership (multicast_addr:String, interface_addr:String, membership:String):Int

set_multicast_interface (interface_addr:String):Int

set_multicast_loop (on:Bool):Int

set_multicast_ttl (ttl:Int):Int

set_ttl (ttl:Int):Int

try_send (data:String, host:String, port:Int):Int

Static methods

static new_udp ():Udp

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部