Comments (7)
I get the same problem. Why does this happen?
Original comment by [email protected]
on 21 Dec 2009 at 1:25
from phpwebsocket.
Me thinks it has something to do with the storing of handshakes per socket..
part of
his "todo" list
Original comment by [email protected]
on 21 Dec 2009 at 9:48
from phpwebsocket.
Hey,
i have implemented the ability to handle multiple request.
one or two more days and i will post a more complex version of this server.
but there are many things that must be figured out...
--mo
i hope my english isnt to bad, im from germany
Original comment by [email protected]
on 22 Dec 2009 at 11:39
from phpwebsocket.
Sounds great. Keep up the good work.
Original comment by [email protected]
on 22 Dec 2009 at 4:58
from phpwebsocket.
[deleted comment]
from phpwebsocket.
Maybe I don't see something, but the problem still exists.
I've changed the $handshake variable to an array, which contain existing
sockets.
Actually, it duplicates $allsockets, but they have different moments of
initiallization. The
main idea - we do a handshake whenever a new socket is being opened. In other
words we do it
when there's no socket in the array yet. So it handles multiple connections (at
least, the
problem is solved)..
Hope it'll be helpfull for anyone.
Original comment by [email protected]
on 25 Dec 2009 at 8:54
Attachments:
from phpwebsocket.
2010.02.16 - Fixed
Original comment by [email protected]
on 16 Feb 2010 at 7:01
- Changed state: Fixed
from phpwebsocket.
Related Issues (20)
- Patch for /trunk/ phpwebsocket/websocket.class.php
- Decode broken when multiple calls same time
- Use on own Webspace on Strato
- what is" function $ (id)" is exactly doing in client code?
- update new version
- can't run the app
- Running on windows HOT 1
- Several Clients
- Patch for /trunk/ phpwebsocket/server.php
- Space ' ' in directory name
- on send button click getting InvalidStateError HOT 1
- Getting weird characters at the server side. HOT 1
- Patch for /trunk/ phpwebsocket/server.php
- Error during WebSocket handshake: 'Sec-WebSocket-Accept' header is missing HOT 1
- Patch for /trunk/ phpwebsocket/client.html
- Patch for /trunk/ phpwebsocket/websocket.class.php
- Patch for /trunk/ phpwebsocket/server.php
- Patch for /trunk/ phpwebsocket/client.html
- Patch for /trunk/ phpwebsocket/chatbot.demo.php
- socket_tcp_bind: tcp_socket: Can't assign requested address
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpwebsocket.