varspool / Wrench

A simple PHP WebSocket implementation for PHP 7.1
Do What The F*ck You Want To Public License
596 stars 210 forks source link

Use server socket options #78

Closed DaSpors closed 7 years ago

DaSpors commented 8 years ago

Not really sure, but i think the code did only use the 'backlog' option and ignored all others. Plz check if this fix is correct, but it works for me.

dominics commented 7 years ago

I'd rather keep this an explicit whitelist for now - what were the other options that were useful?

DaSpors commented 7 years ago

According to http://php.net/manual/de/context.socket.php I'd expect at least 'bindto'. But this issue is kind of old, so I'm not using bindto anymore.