I just set up a prototype for a big client, everything was fine, but now I’m interested in knowing if I have chosen the right solution or architecture, or if there is room for improvement if the project continues.
The task was to create two iOS applications: one of them works on 5 different iPhones, and the other on two iPads. Basically, iPhone applications had to transfer information to iPads, and sometimes they also had to send information between themselves (iPhone for iPhone). All information where there are small JSON objects / pieces whose size was small is very small.
The application was not intended to access the application store, it is a working prototype for testing some ideas in a user testing environment.
I abandoned bluetooth because we are talking about peer-to-peer communication, not one-to-one.
What I did was use web sockets thanks to SocketIO through a small Node.js server that was running on my mac, the server was very simple, just received messages from clients and passed information to others.
What do you think? Is the solution I chose, or is there a better one?
For example, this morning I just found out this thread here on SO , and I found that I could use GameKit. What do you think?
source
share