hashrocket / websocket-shootout

A comparison of websocket servers in multiple languages and frameworks
MIT License
428 stars 76 forks source link

node uws version doesn't work #27

Closed Haofei closed 8 years ago

Haofei commented 8 years ago

wss.clients.forEach(function each(client) { ^

TypeError: Cannot read property 'forEach' of undefined at broadcast (/home/haofei/work/websocket-shootout/js/uws/index.js:12:14) at Socket.incoming as internalOnMessage at Server.nativeServer.onMessage (/home/haofei/work/websocket-shootout/js/uws/node_modules/uws/uws.js:395:20)