该错误现已在socket.io 0.9.6版中修复,我可以使用它,并且可以正常工作:
socket = io.connect(HOST_REMOTE, { transports: ['xhr-polling']});在1.0.0及更高版本中:
socket = io.connect(HOST_REMOTE, { transports: ['polling']});
该错误现已在socket.io 0.9.6版中修复,我可以使用它,并且可以正常工作:
socket = io.connect(HOST_REMOTE, { transports: ['xhr-polling']});在1.0.0及更高版本中:
socket = io.connect(HOST_REMOTE, { transports: ['polling']});