Is it possible to connect two iPhones over the web (wide area network) for a real time gaming experience? Would the connection be fast enough for a game (for example) like pong? What steps should I take? What type of objects int the iPhone SDK should I employ to make this happen?
If you are voting to close please at least leave a comment.
Yes, the iPhone can communicate with the web. You're going to run into the same issues as desktop clients though, including intrinsic network latency and NAT traversal problems. Additionally, you're going to deal with standard embedded systems problems, i.e. you can't tax the CPU and expect network performance to stay high. The solutions are the same as those on the desktop, e.g. having a central "game server" that mitigates the NAT traversal issues and moves "hit" determination away from the clients.
Also take a look at GameKit in the new SDK
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With