Sfoglia il codice sorgente

fix: udpsrv少描述一个参数adapter

Wendal Chen 1 anno fa
parent
commit
4f79fb2129
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      script/libs/udpsrv.lua

+ 1 - 1
script/libs/udpsrv.lua

@@ -16,7 +16,7 @@ local udpsrv = {}
 
 --[[
 创建UDP服务器
-@api udpsrv.create(port, topic)
+@api udpsrv.create(port, topic, adapter)
 @int 端口号, 必填, 必须大于0小于65525
 @string 收取UDP数据的topic,必填
 @int 网络适配编号, 默认为nil,可选