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

      <bdo id='glfuG'></bdo><ul id='glfuG'></ul>
    <tfoot id='glfuG'></tfoot>

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

    1. <small id='glfuG'></small><noframes id='glfuG'>

      對 Web 套接字的原生 PHP 支持是否可用?

      Is native PHP support for Web Sockets available?(對 Web 套接字的原生 PHP 支持是否可用?)

          <legend id='GWlJY'><style id='GWlJY'><dir id='GWlJY'><q id='GWlJY'></q></dir></style></legend>
            • <bdo id='GWlJY'></bdo><ul id='GWlJY'></ul>
                <tbody id='GWlJY'></tbody>

              <tfoot id='GWlJY'></tfoot>

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

            • <i id='GWlJY'><tr id='GWlJY'><dt id='GWlJY'><q id='GWlJY'><span id='GWlJY'><b id='GWlJY'><form id='GWlJY'><ins id='GWlJY'></ins><ul id='GWlJY'></ul><sub id='GWlJY'></sub></form><legend id='GWlJY'></legend><bdo id='GWlJY'><pre id='GWlJY'><center id='GWlJY'></center></pre></bdo></b><th id='GWlJY'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GWlJY'><tfoot id='GWlJY'></tfoot><dl id='GWlJY'><fieldset id='GWlJY'></fieldset></dl></div>
                本文介紹了對 Web 套接字的原生 PHP 支持是否可用?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                尋找 Web Sockets 實現的 Hello World 類型示例:

                Looking for Hello World Type Example of Web Sockets Implementation:

                這是來自 php.net 的 Socket Create 參考,但這看起來更底層比網絡套接字.

                Here is Socket Create reference from php.net but this looks more low level than Web Sockets.

                我想在 caniuse.com 上使用此 Web 套接字,現在已在所有新專業中實現瀏覽器.

                I want to use this Web Sockets as shown here on caniuse.com which is now implemented in all new major browsers.

                Google 搜索發現了這個 Nets.TutsPlus 網站在其中我可以使用 JavaScript 示例代碼...但我需要知道如何在 PHP 中實現服務器端,而不是示例中的 Java、Ruby 或 Node.js.

                A Google search turned up this Nets.TutsPlus site in which I can use the JavaScript example code...but I need to know how to implement the server-side in PHP not Java, Ruby, or Node.js as in the example.

                PHP Socket Create 是否相關?PHP 本身是否支持 Web Sockets?我想 PHP 實現的正確方向會有所幫助.

                Is PHP Socket Create relevant? Does PHP natively support Web Sockets? I guess just a point in the right direction for PHP implementation would help.

                實際上本教程有一個指向 phpwebsockets 的鏈接已損壞...這是應該使用的庫嗎?

                Actually the tutorial has a broken link to phpwebsockets...is this the library one should use?

                Websockets.org 有一個測試應用程序,但沒有提到 PHP.

                Websockets.org has a test application, but no mention of PHP.

                推薦答案

                就本地可用的標準 PHP WebSocket 對象而言,沒有本地支持.

                There isn't native support in terms of there being a standard PHP WebSocket object natively available.

                您需要使用圖書館.

                接下來要考慮的是 WebSocket 服務器的運行方式.通常 PHP 在 Apache、Nginx(通過 FastCGI)或 Microsoft IIS(通過 Fast CGI)上運行.對于 Apache 和 IIS,這可能是一個問題,因為它實際上并沒有考慮到 WebSockets 等持久連接的構建.我不確定 Nginx.這就是為什么大多數 PHP WebSocket 庫將構建為獨立庫以作為自己的進程運行.

                The next thing to consider is how the WebSocket server runs. Normally PHP runs in Apache, Nginx (via FastCGI) or on Microsoft IIS (via Fast CGI). With Apache and IIS this may be a problem as it's not really built with persistent connections such as WebSockets in mind. I'm not sure about Nginx. This is why most PHP WebSocket libraries will be built as standalone libraries to be run as their own processes.

                見:

                • Apache 模塊:https://github.com/disconnect/apache-websocket
                • 棘輪:https://github.com/cboden/Ratchet
                • 扳手:https://github.com/varspool/Wrench
                • PHP WebSocket:http://code.google.com/p/phpwebsocket/

                注意:IE10 現已在 Windows 8 中發布

                另見:Ajax推送系統

                這篇關于對 Web 套接字的原生 PHP 支持是否可用?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                相關文檔推薦

                Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                PHP PDO ODBC connection(PHP PDO ODBC 連接)
                Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)

                <small id='1ESId'></small><noframes id='1ESId'>

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

                      <legend id='1ESId'><style id='1ESId'><dir id='1ESId'><q id='1ESId'></q></dir></style></legend>

                        <tfoot id='1ESId'></tfoot>
                          <bdo id='1ESId'></bdo><ul id='1ESId'></ul>
                          主站蜘蛛池模板: www.色.com | 黄色一级大片在线免费看产 | 久久专区 | 亚洲电影一区二区三区 | 国产伦一区二区三区 | 天天想天天干 | 日韩1区| 欧美精品一二三 | 日韩成人av在线 | 久久亚洲天堂 | 欧美精品一区二区三区一线天视频 | 国产精品小视频在线观看 | 日本三级做a全过程在线观看 | 紧缚调教一区二区三区视频 | 日韩欧美视频在线 | 91社影院在线观看 | 男人av的天堂 | 欧美黄色免费网站 | 国产精品九九九 | 福利视频一区二区 | 精品综合 | 久久久福利 | 日韩欧美中文字幕在线观看 | 免费看欧美一级片 | 日韩一区二区视频 | 亚洲午夜精品在线观看 | 91看片官网 | 久久精品国产一区老色匹 | 国产激情精品一区二区三区 | 岛国毛片 | 亚洲久久 | 亚洲成a人片 | 久久成人精品 | 日韩中文字幕一区 | 国产精品成人一区二区三区 | 在线免费观看成人 | 日韩乱码一二三 | 国产9久| 麻豆av免费观看 | 欧美激情在线播放 | 亚洲一级淫片 |