Problem with Websockets

2 views
Skip to first unread message

Dave C

unread,
Jan 28, 2010, 9:04:23 PM1/28/10
to js.io
Like Saimon, I am trying to get Websockets working in mobile browsers.
I have tried to use the js.io code but I have not been able to get
past the problem where an error is being returned:

js.io.TCPSocket is not a constructor

var conn = new js.io.TCPSocket();\r\n websocket.js (line 21)

I have downloaded the static directory from Orbited (latest 0.7
version) to get the Orbited.js file, but that does not help because
the code is failing before calling anything from this file on the non-
existent TCPSocket constructor cal.

I assume that I am doing something wrong, and so would be glad of any
help.

Thanks,
Dave

Reply all
Reply to author
Forward
0 new messages