let udpclient = wx.createUDPSocket()
console.log(udpclient);
const port = udpclient.bind(8084)
wx.showToast({
title: 'port'+port,
})
ios真机运行后打出port0 但是开发者工具打出port8084。
let udpclient = wx.createUDPSocket()
console.log(udpclient);
const port = udpclient.bind(8084)
wx.showToast({
title: 'port'+port,
})
ios真机运行后打出port0 但是开发者工具打出port8084。
6 个回答
你好,该问题已知,目前真机调试不支持udp调试,我们后续会支持上。请先直接在开发工具调试或者真机预览
这个问题还是没有解决,andriod下指定端口号没有问题;但IOS下,绑定指定的端口号返回值0,绑定失败
您好,在基础库2.18.0中解决了吗?发布上线后可以用吗?
您这个问题解决了么?
您这个问题解决了么?
您好,如果在本地调试好了,发布线上可以用吗?