Remote procedural calls over socket.io in native iOS applications?
Is it possible to do remote procedural calls over socket.i开发者_如何学编程o in native iOS applications?
Would it be easier to do in a Titanium built application?
This Objective-C Socket.IO client library is what you're looking for:
https://github.com/pkyeck/socket.IO-objc
As long as it's not udp you could probably write a client for it. However, curious on google I found: http://www.ziconic.com/2010/11/simple-ajax-style-rpc-code-in-your-ios.html which will be more of what you want I think. This Using XML-RPC in iPhone apps says that it handles xml on the iphone and there's https://github.com/joyent/node/wiki/modules#wiki-parsers-xml which should help with that.
Hope it helps a bit. RPC documentation in xml is readily available.
精彩评论