yufeixuan / phpwebsocket

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

No multiple connections (Windows?) #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open tab to use client
2. Open 2nd tab to use client at the same time

What is the expected output? What do you see instead?
A message about a connection. Disconneted

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

Please provide any additional information below.
I've been trying to get multiple connections to work for a while now and
have found one chunk of code that actually works for me under XP:
http://www.php.net/manual/en/function.socket-select.php#56241

Original issue reported on code.google.com by xell...@gmail.com on 25 Dec 2009 at 6:20

GoogleCodeExporter commented 9 years ago
Well, there're minor changes which should be done to the code. I've attached 
the code 
working for me in Issue1. I hope you don't mind me posting it here for your 
convinience.

Original comment by sidelnik...@gmail.com on 25 Dec 2009 at 8:57

Attachments:

GoogleCodeExporter commented 9 years ago
Oh thanks!

Original comment by xell...@gmail.com on 25 Dec 2009 at 7:21

GoogleCodeExporter commented 9 years ago

Original comment by georgen...@gmail.com on 16 Feb 2010 at 7:02