-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Hi all,
Have been playing with some TCP sockets code using curl; tearing my hair out gradually.
While the code comes across and compiles correctly, the sockets fail each time.
There seem to be some mixed announcements; some saying that TCP calls don't work from browser, some saying that CONNECT etc works.
When I compile my code in C++, using either TCP or Websockets (with a redirect on the webserver itself from :8080 to intended TCP destination) it works correctly. However, every time i bring the code across via Emscripten; it doesnt work either in node.js or in Chrome/Firefox. Neither gives an error, the socket attempt is just never successful. In Nodejs, the code starts and doesnt emit any debugging information - nor is anything seen on the logger of the forwarder.
Any ideas/hints guys?
james