Update socket.io with iOS

I didn’t update the socket.io with iOS example over a year. Socket.io change a version and original code https://github.com/pkyeck/socket.IO-objc also fix a bugs a lot.

Today, I fixed the bugs and update the example code again. Socket.io don’t have chat example when install from NPM. So ,I put chat script from Geek Chat for testing.

Before running

Change IP address at sockio-server/views/index.html

var socket = io.connect("");

Run socket.io chat like

node ./sockio-server/app.js

Change IP address at Objective-C code

[_socketIO connectToHost:@"localhost" onPort:3000];

comments powered byDisqus