How can cocos2d-html5 to develop a online game?

if i want’s to develop an online game ,i’ll use socket to set the Connection,does the cocos2d-html5 support websockt,if not,how can i do?

我是一个新人,想了解了下cocos2d-html5是不是支持websocket,因为我网上只查到html5能支持这个来进行socket连接,如果不支持,那请问cocos2d-html5是通过什么来支持网游开发的网络连接的?

WebSocket is supported when you develop games with cocos2d-html5. You may add the connection component by yourself.