开发者

Find specific server in iPhone

Hi i am developing iPad client server based application. It is required in application that when application starts it searches for specific server. If server found then connect with it and start consuming webservices on that server.

The point is user should not ent开发者_如何学Cer IP address of server. Application search servers and connect with specific server. Is there anyway to find server.


Apple has a technology called Bonjour which is designed for this kind of thing. http://www.apple.com/support/bonjour/ http://my.safaribooksonline.com/book/programming/iphone/9780470918029/bonjour-programming/browsing_for_services

If you want a simpler solution, you could just use a DNS entry with a CNAME or A record pointing to the server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜