LuisNeighbur / phpwebsocket

Automatically exported from code.google.com/p/phpwebsocket
0 stars 0 forks source link

error "not a valid Socket resource" #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start the server
2. load the file client.html in Google Chrome
3.

What is the expected output? What do you see instead?
The server is expected to work, but it's showing the following error instead:
Warning: socket_select(): 5 is not a valid Socket resource in 
/home/mink500/public_html/test/server.php on line 15

What version of the product are you using? On what operating system?
r8

Please provide any additional information below.
I tried to make the server work locally using XAMPP (Apache and PHP) but I got 
the same error. I also tried to change ports and follow the instructions in 
this issue:
http://code.google.com/p/phpwebsocket/issues/detail?id=33
But I still get the error "5 is not a valid Socket resource" and the 
application is disconnected. 
I remember that refreshing the page several times I got it running a few months 
ago, but now it's impossible. Besides, it has to work all the time, not just 
after refreshing the page like 20 times.

Original issue reported on code.google.com by invidtec...@gmail.com on 31 Aug 2011 at 3:50