获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
- UDP 通信 如何bind指定端口?
[代码] let udpSocket = wx.createUDPSocket();[代码][代码] [代码][代码]this[代码][代码].udpSocket = udpSocket;[代码][代码] [代码][代码]let port = udpSocket.bind(52158);[代码][代码] [代码][代码]console.log([代码][代码]'udp listener on port:'[代码] [代码]+ port);[代码] [代码] [代码][代码]udpSocket.onClose(() => {[代码][代码] [代码][代码]console.log([代码][代码]'udp close'[代码][代码]);[代码][代码] [代码][代码]})[代码] [代码] [代码][代码]udpSocket.onMessage([代码][代码]function[代码] [代码](msg, remoteDevice) {[代码] 结果每次都是随机给我分配一个 第一次绑定的也不是52158端口
2019-12-03 - app.js编码无法上传代码?._app.js file is not in UTF-8 encod
message:Error: ._app.js: ._app.js file is not in UTF-8 encoding appid: wxb779166372d245eb openid: o6zAJs261efnkOUJ9wCKipPi_6eI ideVersion: 1.05.2111300 osType: win32-x64 time: 2022-01-13 00:50:58
2022-01-13