My apologies, I had left out a crucial detail. The server is actually
On Sep 28, 11:48 pm, NoPyGod <
nopy...@gmail.com> wrote:
> Using the latest Google Chrome [as available by the update system] and
> the latest version of Socket.io [client and server]
>
> Client code -
>
> function Game() {
>
> var socket = io.connect('http://devserver:8081');
>
> socket.emit('join', {id: 'hello'}, function (data) {
>
> if (data['ok'] == 'na') {
> alert(data['msg']);
> }
>
> });
>
> }
>
> All the server does is send back a response with a parameter of 'ok'
> equal to 'na'
>
> This causes the tab in Chrome to crash, bringing up that lovely blue
> screen saying something went wrong.
>
> Changing the alert to something else, or removing it, stops the
> crashing.
>
..