什么类型的网络编程是必要的iPhone在线多人游戏? [英] what type of network programming is necessary in iPhone online multiplayer game?
问题描述
我问这个问题是关于游戏编程问题系列的一小部分。
I am asking this question as a small part of my question series regarding game programming .
请参阅这个问题作为主要问题。
Refer this question as the main one .
现在假设我想开发
假设它是一张赌场表。
在主要问题中,ChrisF告诉我客户端 - iphone在线多人游戏的服务器架构。
In the main question ChrisF has tell me of sort of Client - Server architecture for iphone online multiplayer game.
我想知道什么样的网络编程
I want to know what sort network programming I have to do for this type of application .
客户端和服务器执行的职责和活动将是什么。
What will be the responsibilities and activities carried out by client and server .
您可以为我提供链接,教程或积分答案,任何东西都会对我有很大的帮助,而且会非常值得。
You can provide me link, tutorials or to the point answers , anything will be great help for me and will be really appreciable .
感谢
推荐答案
您将需要编写在服务器上运行的套接字应用程序。当你有权访问WiFi接入点或边缘/ 3g,你可以发送数据到它从你的iphone应用程序。然后,此服务器可以处理传入的数据,并向连接的人发送适当的答复。
You'll want to write a socket application running on a server. When you have access to a wifi access point or edge/3g you can send data to it from your iphone application. This server can then handle the incoming data and send an appropriate reply to the people connected.
有关服务器套接字编程,请参阅本指南 - http://beej.us/guide/bgnet/ 。
For server socket programming, take a look at this guide - http://beej.us/guide/bgnet/.
对于iphone特定的套接字编程,请查看随Iphone提供的示例SDK。 此链接还有一些基本信息。
For iphone specific socket programming, take a look at the samples supplied with the Iphone SDK. This link also has some basic information.
这篇关于什么类型的网络编程是必要的iPhone在线多人游戏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!