In JSB 3.0, new WebSocket("ws://url...") , it says "WebSocket is not defined".
Does this mean JSB 3.0 have not support WebSocket? If supported,how to use?
Which version exactly are you using? because we recently released Cocos2d-JS v3.0 alpha which merged Cocos2d-html5 and Cocos2d-JSBinding. In this version we do support WebSocket