et-nik / et-nik/phpwebsocket

PHP Warning: socket_select(): 9 is not a valid Socket resource

Open
#33 29 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. sudo php -q server.php
2. 192.168.1.15/client.html
3. refresh chrome explorer some times

What is the expected output? What do you see instead?
Stay connected to the chat.
Some times it disconnects from the chat, and on the server side it shows
messages
PHP Warning: socket_select(): 6 is not a valid Socket resource in
/var/www/websocket/server.php on line 15
PHP Warning: socket_select(): 7 is not a valid Socket resource in
/var/www/websocket/server.php on line 15
PHP Warning: socket_select(): 8 is not a valid Socket resource in
/var/www/websocket/server.php on line 15
PHP Warning: socket_select(): 11 is not a valid Socket resource in
/var/www/websocket/server.php on line 15

What version of the product are you using? On what operating system?
Downloadad client.php and server.php from project home 13th June
Server side Ubuntu 11 + Apache2 + PHP5
Client side Windows XP SP3 + Chrome 12

Please provide any additional information below.
I haven't checked the code yet, as it's my first time working with sockets.

```

Original issue reported on code.google.com by `jgom...@gmail.com` on 15 Jun 2011 at 10:37

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.