ghedipunk / PHP-Websockets

A Websockets server written in PHP.
BSD 3-Clause "New" or "Revised" License
913 stars 375 forks source link

epoll support? #90

Open clarkk opened 7 years ago

clarkk commented 7 years ago

I just have a quick question :)

Does this websocket server support epoll ?

Xaraknid commented 7 years ago

The master version only support select. You need ev (linux only ) or event library. I make a version using ev and now ghedipunk work on it to include more feature like ( unit test ).

Xaraknid commented 7 years ago

If you want I can push my version with libev. I use it first because my server run under linux and second it's easier to setup as it work on the same level of abstraction of socket_select.

Pulsar-san commented 7 years ago

I am interested by your libev version, Xaraknid :) I've been using node.js for a chat and already used websocket, but for managing some alerts I'd like to use websocket with PHP and libev.