久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

        <bdo id='kUTtu'></bdo><ul id='kUTtu'></ul>
      <i id='kUTtu'><tr id='kUTtu'><dt id='kUTtu'><q id='kUTtu'><span id='kUTtu'><b id='kUTtu'><form id='kUTtu'><ins id='kUTtu'></ins><ul id='kUTtu'></ul><sub id='kUTtu'></sub></form><legend id='kUTtu'></legend><bdo id='kUTtu'><pre id='kUTtu'><center id='kUTtu'></center></pre></bdo></b><th id='kUTtu'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='kUTtu'><tfoot id='kUTtu'></tfoot><dl id='kUTtu'><fieldset id='kUTtu'></fieldset></dl></div>

    1. <tfoot id='kUTtu'></tfoot>
    2. <small id='kUTtu'></small><noframes id='kUTtu'>

        <legend id='kUTtu'><style id='kUTtu'><dir id='kUTtu'><q id='kUTtu'></q></dir></style></legend>

        Bonjour 不在 BT 上做廣告

        Bonjour not advertising over BT(Bonjour 不在 BT 上做廣告)

        <tfoot id='QDhej'></tfoot>

            <tbody id='QDhej'></tbody>
            <bdo id='QDhej'></bdo><ul id='QDhej'></ul>

            <small id='QDhej'></small><noframes id='QDhej'>

                  <i id='QDhej'><tr id='QDhej'><dt id='QDhej'><q id='QDhej'><span id='QDhej'><b id='QDhej'><form id='QDhej'><ins id='QDhej'></ins><ul id='QDhej'></ul><sub id='QDhej'></sub></form><legend id='QDhej'></legend><bdo id='QDhej'><pre id='QDhej'><center id='QDhej'></center></pre></bdo></b><th id='QDhej'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='QDhej'><tfoot id='QDhej'></tfoot><dl id='QDhej'><fieldset id='QDhej'></fieldset></dl></div>
                  <legend id='QDhej'><style id='QDhej'><dir id='QDhej'><q id='QDhej'></q></dir></style></legend>
                  本文介紹了Bonjour 不在 BT 上做廣告的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  在過去一周左右的時間里,我一直在努力解決這個問題.我已經瀏覽了以下資源:

                  I've been banging my head against this for the last week or so. I've already gone through the following resources:

                  • StackOverflow:在沒有 Gamekit 的情況下通過藍牙享受 Bonjour ?(3844189)
                  • StackOverflow:Bonjour Over Bluetooth 的工作原理 (3350094)
                  • StackOverflow:在其他平臺上使用 iOS GameKit 的Bluetooth Bonjour" (8070998)
                  • 技術問答 QA1753 -- Apple 開發者
                  • WiTap 示例應用程序
                  • SRVResolver 示例應用程序
                  • DNSSDObjects 示例應用程序

                  我使用的是 Mac OS 10.7、Xcode 4.5、帶有 iOS 6 的 iPhone 4 和帶有 iOS 5.1.1 的 iPad 1.

                  I'm using Mac OS 10.7, Xcode 4.5, an iPhone 4 with iOS 6, and an iPad 1 with iOS 5.1.1.

                  我的問題是:我正在修改一個應用程序,該應用程序當前使用 GameKit 的對等選擇器在 iPad 和 iP{hone|od touch} 之間進行連接.我們想修改它以通過藍牙使用 Bonjour,因為如果連接丟失,我們在使用 Gamekit 重新連接設備時遇到了問題.我已經使用 dns_sd.h API 取得了一些成功,并且已經獲得了通過 wifi 進行廣告和解析的服務,但是即使我通過了 kDNSServiceFlagsIncludeP2P,我也沒有通過藍牙獲得任何成功.

                  My problem is this: I am modifying an application that currently uses GameKit's peer picker to connect between an iPad and a iP{hone|od touch}. We want to modify this to use Bonjour over Bluetooth instead because we've had issues with reconnecting the devices using Gamekit if the connection is lost. I've used dns_sd.h API to some success and have gotten the service to advertise and resolve over wifi, but even though I am passing kDNSServiceFlagsIncludeP2P I am not getting any success over bluetooth.

                  我認為藍牙 Bonjour 可能需要在設備之間建立 PAN,但即使將 iPad 與 iMac 配對并瀏覽 DNS-SD 服務也沒有給我任何幫助……而且 iPhone 也不會與 iPad 配對.

                  I thought possibly Bluetooth Bonjour need a PAN established between devices already, but even pairing the iPad to the iMac and browsing for DNS-SD services gives me nothing...and the iPhone won't pair to the iPad anyway.

                  推薦答案

                  在過去的 24 小時內,我剛剛在自己的應用程序中解決了這個問題.我使用了 OS X 示例應用程序 DNSSDObjects 中的核心類.我只需要更改三行代碼即可添加對藍牙的支持.這在我的 iOS 應用中效果很好.

                  I just finished solving this in my own app in the last 24 hours. I used the core classes from the OS X sample app DNSSDObjects. I only had to change three lines of code to add support for bluetooth. This works great in my iOS app.

                  在 DNSSDBrowser.m 中,對 DNSServiceBrowse 的調用需要為第二個參數傳入 kDNSServiceFlagsIncludeP2P.

                  In DNSSDBrowser.m, the call to DNSServiceBrowse needs to have kDNSServiceFlagsIncludeP2P passed in for the 2nd parameter.

                  在 DNSSDRegister.m 中,對 DNSServiceRegister 的調用需要進行相同的更改.

                  In DNSSDRegister.m, the call to DNSServiceRegister needs the same change.

                  在 DNSSDService.m 中,對 DNSServiceResolve 的調用也需要進行相同的更改.

                  In DNSSDService.m, the call to DNSServiceResolve also needs the same change.

                  如果您想只使用藍牙而不是 WiFi,則應更新相同的三行代碼,以便第三個參數為 kDNSServiceInterfaceIndexP2P 而不是 kDNSServiceInterfaceIndexAny.

                  If you want to limit yourself to just bluetooth, and not WiFi, then the same three lines of code should be updated so the 3rd parameter is kDNSServiceInterfaceIndexP2P instead of kDNSServiceInterfaceIndexAny.

                  這篇關于Bonjour 不在 BT 上做廣告的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to animate a UIImageview to display fullscreen by tapping on it?(如何通過點擊動畫 UIImageview 以顯示全屏?)
                  To stop segue and show alert(停止 segue 并顯示警報)
                  iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以編程方式確定路徑)
                  Icon already includes gloss effects(圖標已經包含光澤效果)
                  How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
                  UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進度圖像(iOS 5 屬性))

                    • <small id='11BXS'></small><noframes id='11BXS'>

                    • <i id='11BXS'><tr id='11BXS'><dt id='11BXS'><q id='11BXS'><span id='11BXS'><b id='11BXS'><form id='11BXS'><ins id='11BXS'></ins><ul id='11BXS'></ul><sub id='11BXS'></sub></form><legend id='11BXS'></legend><bdo id='11BXS'><pre id='11BXS'><center id='11BXS'></center></pre></bdo></b><th id='11BXS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='11BXS'><tfoot id='11BXS'></tfoot><dl id='11BXS'><fieldset id='11BXS'></fieldset></dl></div>
                    • <tfoot id='11BXS'></tfoot>

                          <bdo id='11BXS'></bdo><ul id='11BXS'></ul>
                            <legend id='11BXS'><style id='11BXS'><dir id='11BXS'><q id='11BXS'></q></dir></style></legend>
                              <tbody id='11BXS'></tbody>
                          • 主站蜘蛛池模板: 九九综合 | 久久久精品影院 | 久久久久一区 | 免费中文字幕日韩欧美 | 久久免费香蕉视频 | 精品一区二区三区四区五区 | 黄色片网此 | 99pao成人国产永久免费视频 | www.xxxx欧美| 国产资源在线观看 | 在线国产一区二区 | 亚洲三级视频 | 成人伊人 | 天天干天天草 | 亚洲第一av | 日本国产欧美 | 中文字幕一区在线观看视频 | 天堂一区 | 国产一区二区三区网站 | 日韩视频免费在线 | 久久精品免费 | 天天射色综合 | 丁香久久 | 超碰欧美 | 欧美日本免费 | 亚洲欧洲中文 | 手机在线观看av | 亚洲欧美激情精品一区二区 | 91精品国产乱码麻豆白嫩 | 中文字幕在线观看成人 | 9久9久9久女女女九九九一九 | 国产中文字幕在线观看 | 欧美久久久久久 | 日韩不卡一区二区 | 免费观看国产视频在线 | 亚洲国产精品自拍 | 五月婷婷 六月丁香 | 国产高清无av久久 | 国产精品一区二 | 一级黄色淫片 | 在线视频三区 |