simple-swoole / simps

🚀 A simple, lightweight and high-performance PHP coroutine framework.
https://simps.io
Apache License 2.0
471 stars 48 forks source link

websocket 支持ipv6问题 #22

Closed ohuolo closed 3 years ago

ohuolo commented 3 years ago

ws服务启动的时候 没有像http一样增加sock_type的定义 $this->_server = new Server($wsConfig['ip'], $wsConfig['port'], $config['mode']); 默认应该是SWOOLE_SOCK_TCP这个不支持ipv6 在配置里的sock_type 在这里没有加入执行.

sy-records commented 3 years ago

加上了