Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone Objective-C socket communication with Socket.IO [closed]

I’m developing some sort of massive multiplayer board-game. My solution is node.js socket.io on server. I need solution for implementation some sort of objective-c socket which would communicate with socket.io for sending and receiving json objects as string. i won't use webkit with websocket. Is there any possibility? server will hold state of game, iphone clients will sending action to server and receiving changes on server back.

like image 295
Max Avatar asked Feb 09 '11 22:02

Max


1 Answers

edited 2015/03/19: The Socket.IO guys created their own iOS library that supports Socket.IO v1.0+. Get it here: https://github.com/socketio/socket.io-client-swift


old answer

I updated fpotter's socket.io library to work with version 0.7.2 - 0.9.x.
It supports sockets and XHRpolling.

https://github.com/pkyeck/socket.IO-objc

Maybe you want to check it out.

like image 74
Philipp Kyeck Avatar answered Oct 03 '22 21:10

Philipp Kyeck