The WebSocket protocol allows a bidirectional and
full-duplex communication between a client and a server. The
Hoa\Websocket library allows to create WebSocket
servers and clients.
hosein said (Sun Apr 19 2015 18:15:03 GMT+0200 (CEST)):
when I send binary message for example a JPG file , HOA work’s fine and send it completely on local machine (wamp) but when I test it on server (vps linux) , that file would be received corrupted . I don’t know why . please help
Hyarion said (Fri Sep 25 2015 17:36:37 GMT+0200 (CEST)):
Is it possible to get the ip address of the connection that sends a message? $bucket->getSource()->getConnection() just seems to return the same ip as the server. Or even a unique identifier for each connection?
Hello there, thanks for the awesome library
Been having trouble with closing the connection of a specific node
The documentation here says that the close function takes 3 arguments with the third being the node marked for closing
But everything i try ends with the current node closing rather than the specified node
I’ve looked into the implementation and the close function does not take a third node parameter and that it actually always closes the current node
Any help would be appreciated
Thanks
Sure I would like to try a fix, I’ve been trying for 3 days, I’ve even tried to use the connections iterator to close a specific node which isn’t optimum since i have to loop through all opened connections but even this didn’t work
The iterator always had only the last item even if i call the rewind function manually it still only had one item which is the last one
Sorry for the long explanation and thanks again for the library and the support