Bonjour服务在iPad上已经很晚了

时间:2012-11-19 09:01:12

标签: ipad bonjour

当我在iPad上开发bonjour时,我遇到了一个奇怪的问题。

要求是这样的:

 a).I write the bonjour server on Mac and it works fine. 
    And iPad will conntect with this service by Wi-Fi. 
    This Wi-Fi network is created by this Mac(Internet sharing). 
    Thus once iPad joined into this Wi-Fi network, the bonjour browser
    program(which run in iPad) will find the service.

步骤:

 a).firstly I am sure that this client program works fine. 
    It could find the serivce.
 b).But I want to make this program are stable under any condition. So I take a detail 
    test.
 c).One of the testcase is:
          1). The client program already run on iPad, and could find the service.
          2). Then, I make "WLAN off" in setting item(I close the connect from iPad).
          3). Then, I make "WLAN on" and select the same Wi-Fi network.

问题来了:

  a). I find, the cilent program find the bonjour service sometimes take
      so long time(max time even 7 minutes),sometimes several seconds.
  b). And this is only happened under the condition whhich WI-FI created 
      as "Internet sharing from Mac". If I create the Wi-Fi as 
      "None Internet share", I could always found the bonjoure service
      within about 20 seconds.

那么,“无线互联网共享和Wi-Fi之间的区别是什么? internent shareing(我知道iPad可以通过互联网共享来上网吗?

如何解决它?

0 个答案:

没有答案
相关问题