输入banner图图片脚本导航/分类

phpwebsocket实现登录用户,点对点通信

php websocket 如何实现登录用户,点对点通信
在建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