V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
dosgo
V2EX  ›  PHP

一个 swoole 的 socket.io 服务器实现

  •  
  •   dosgo · Jul 24, 2018 · 4329 views
    This topic created in 2839 days ago, the information mentioned may be changed or developed.

    github:https://github.com/dosgo/sw-socketio

    基于 https://github.com/walkor/phpsocket.io 修改,支持 Polling,PollingXHR,PollingJsonp,WebSocket。

    1.定时器使用 swoole 的定时器.

    2.基于 swoole 模拟 Workerman 的触发(onConnect/onMessage/onClose).

    1 replies    2018-07-24 15:34:42 +08:00
    predator
        1
    predator  
       Jul 24, 2018
    先码住
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2580 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 182ms · UTC 13:30 · PVG 21:30 · LAX 06:30 · JFK 09:30
    ♥ Do have faith in what you're doing.