package lua.lib.luv.net
extends Handle
Available on luanew ()bind (host:String, port:Int):Intgetsockname ():Stringopen (fd:Int):Intrecv_start (cb:String ‑> Bool ‑> Void):Intrecv_stop ():Intsend (data:String, host:String, port:Int, cb:Bool ‑> Void):Intset_broadcast (on:Bool):Intset_membership (multicast_addr:String, interface_addr:String, membership:String):Intset_multicast_interface (interface_addr:String):Intset_multicast_loop (on:Bool):Intset_multicast_ttl (ttl:Int):Intset_ttl (ttl:Int):Inttry_send (data:String, host:String, port:Int):Intstatic new_udp ():Udp
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/lua/lib/luv/net/Udp.html