0
最近,我使用SocketIO停止向客户端发送消息时建立了一个应用程序,并且消息NotRegistered
在消息发送时出现在控制台中。其他一切正常,服务器没有问题接收请求。使用io.sockets.emit时的SocketIO“NotRegistered”消息
有一点需要注意的是,唯一有问题的客户端是使用相应的本地移动socket.io库的移动设备(例如iOS/Android)。
io.sockets.emit("newMessage", {removed: removed, room: room, userID: removed, name: removed, message: messageContent});
您看到的确切完整的信息是什么? – jfriend00
@ jfriend00这是完整的消息 –
你在服务器上还是在你的Android客户端上看到消息?你知道你的客户是否使用webSocket或xhrpolling作为交通工具吗? – jfriend00