UDP连接支持

Static methods

staticinit ():Void

不需要主动调用,Start会自动调用

staticisSupport ():Bool

staticdynamiconUDPMessage (msg:String):Void

UDP消息接收

Parameters:

null

msg

staticsend (msg:String, port:Int, ip:String):Void

发送UDP消息,需要UDP功能支持时,才能正常发送,HTML5需要依赖nwjs框架进行发送。

Parameters:

msg
start
len
port
null

ip