WebSocketTest.cpp

version : cocos2d-rc-2.1.4

problem description:

TestCpp project

WebSocketTest connect to my WebsocketServer. when i close the server,

WebScoektTest crash!

output information:
Websocket (09CC9598) opened
connection closing…
websocket instance (09CC9598) closed.
First-chance exception at 0x0159889e in TestCpp.exe: 0xC0000005: Access violation reading location 0xfeeefeee.
Invalid parameter passed to C runtime function.


error.png (24.1 KB)

I also encountered the same problem!!
Only occur when the server closes the connection