久久久久久久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>
                          • 主站蜘蛛池模板: 三级福利视频 | 日韩欧美第一页 | 香蕉一区二区 | 中文字幕在线观看一区 | 97超碰人人 | 久久久天堂国产精品女人 | 91视频免费在线观看 | 欧美日韩综合在线 | 欧美成在线 | 91一区| 亚洲精品成a人在线观看 | 99视频免费| 天堂视频在线观看 | www.国产在线观看 | 日韩中文字幕一区二区 | 99热国产在线 | 国产精品久久久久久99 | 亚洲午夜视频在线观看 | 久久最新网址 | 精东影业一区二区三区 | 亚洲欧美日韩一区二区三区四区 | 999国产视频 | 成人黄色免费视频 | 国产精品入口夜色视频大尺度 | 国产日韩欧美一区 | www四虎 | 一级国产片 | 欧美视频久久 | 色综合天天综合网国产成人网 | 欧美日韩三级 | 欧美综合激情 | 亚洲经典一区二区 | 91久久国产综合久久 | 天堂一区二区三区 | 欧美视频在线观看 | 亚洲在线一区二区 | 在线观看国产小视频 | 欧美理论片在线观看 | 青青在线 | 日韩一区在线播放 | 日韩资源在线 |