php websocket 实现登录用户,点对点通信
程序员文章站
2022-06-07 19:43:29
...
php websocket 如何实现登录用户,点对点通信
在建connection 里的,如果验证用户信息,急。。。
在建connection 里的,如果验证用户信息,急。。。
回复讨论(解决方案)
https://github.com/walkor/workerman-chat
这里有例子
登录部分代码
https://github.com/walkor/workerman-chat/blob/master/Applications/Chat/Web/index.php#L36
https://github.com/walkor/workerman-chat/blob/master/Applications/Chat/Event.php#L33
原来是这样,3q
下一篇: C#连接操作mysql实例_MySQL