Open alpha1916 opened 9 years ago
We have the similarity issues. In android platform, if we send too much protocol, then server will disconnect the client connection. we have checked this, and found websocket maybe have some mistakes. however, we didn't find this issues in other platform.
WebSocket在Cocos2d-JS使用过程中,Web版正常没有问题,可是在原生的Android版使用的时候,发送数据给服务端的时候不定时出现包不完整的情况,没有包头这样,比如在使用json协议传输数据时,会出现这种情况:服务端收到的数据只有json内容,而没有WebSocket协议头。