获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
用微信小程序开发工具返回的: {"remoteInfo":{"address":"10.10.100.254","family":"IPv4","port":8899},"localInfo":{"address":"192.168.25.1","family":"IPv4","port":58480},"size":1,"message":{}} 真机返回的: {"message":{},"remoteInfo":{"address":"0.0.0.0","family":"IPv4","port":0},"localInfo":{"address":"0.0.0.0","family":"IPv4","port":0}}
TCPSocket.onMessage不返回正常的信息TCPSocket连接之后TCPSocket.onMessage没有返回正常的信息, 返回{"message":{},"remoteInfo":{"address":"0.0.0.0","family":"IPv4","port":0},"localInfo":{"address":"0.0.0.0","family":"IPv4","port":0}} 这是什么原因,因为没有配TCP域名吗?我的是内网IP,配不了TCP域名
2022-04-20