Compatibility with Socket.io

0 views
Skip to first unread message

NoahD

unread,
Sep 10, 2011, 11:51:53 AM9/10/11
to unitt-project
Hi,
This library looks great and I'd like to use it but I'm having a bit
of trouble connecting to our server.
Our server uses node.js with socket.io when I connect I get an error
but it doesn't have an extra information in the error message.
Is this library compatible with socket.io?
Any hints or tips on debugging this would be much appreciated!

Thanks,
Noah

Josh Morris

unread,
Sep 10, 2011, 1:15:00 PM9/10/11
to unitt-project
Are you using the Java client or the iOS one?

NoahD

unread,
Sep 10, 2011, 1:26:28 PM9/10/11
to unitt-project
iOS

Josh Morris

unread,
Sep 10, 2011, 4:45:06 PM9/10/11
to unitt-project
I will spin up a quick test to try it out. In the meantime, you might
want to check out the https://github.com/asutherland/WebSocket-Node
WebSocketNode library that runs on Node.js. I know it uses the 07
version of the specification. I believe most versions of Socket.io are
using the hixie75/76 version of the specification. This is many
revisions behind. Can you give it a go with the WebSocketNode library
using the WebSocket07.h header and let me know if you still have
problems?


Josh

Josh Morris

unread,
Sep 12, 2011, 10:57:38 AM9/12/11
to unitt-project
You can also try the Rev00 version of the client, just make sure to
set "verifyHandshake" to NO. The Rev00 & Hixie75/76 are close enough
to work together.

On Sep 10, 2:45 pm, Josh Morris <joshuadmor...@gmail.com> wrote:
> I will spin up a quick test to try it out. In the meantime, you might
> want to check out thehttps://github.com/asutherland/WebSocket-Node

Josh Morris

unread,
Oct 2, 2011, 5:13:42 PM10/2/11
to unitt-project
I have updated the WebSocket00.h file in SVN to work with the Hixie76
stuff. I will be releasing a new version, meanwhile, you can try out
the version in trunk and see if that solves your problem.
Reply all
Reply to author
Forward
0 new messages