Socket, websocket, socket.io比较

socket 是基于tcp上的
websocket 是基于http上的
socket.io 是基于websocket上的

你可能感兴趣的:(Socket, websocket, socket.io比较)