First thank you for the library. However I'm having some bugs I cannot explain. I manage to make it work between a python server and an ocaml client, but when the ocaml client tries to connect to the well known wscat (sudo apt-get install node-ws) which is run as a server with :
The code I'm running is the wscat installed by opam (I also tried to compile it by myself, and the bug stay the same). I checked with netcat the opened port and I find the 8889:
Also, I tried to connect to the node wscat using both a node wscat client and a python client running websocket, and both can connect to the server, so it's indeed a bug.
Do you know what could be the reason of such a bug ?
I think the issue you had is that the OCaml wscat client was trying to connect to the IPv6 localhost (::1) instead of 127.0.0.1. Could you please try ./wscat.native "http://127.0.0.1:8889"?
Hello,
First thank you for the library. However I'm having some bugs I cannot explain. I manage to make it work between a python server and an ocaml client, but when the ocaml client tries to connect to the well known wscat (
sudo apt-get install node-ws
) which is run as a server with :I got an error from the client side:
The code I'm running is the wscat installed by opam (I also tried to compile it by myself, and the bug stay the same). I checked with netcat the opened port and I find the 8889:
Also, I tried to connect to the node wscat using both a node wscat client and a python client running websocket, and both can connect to the server, so it's indeed a bug.
Do you know what could be the reason of such a bug ?
Thank you.