websocketd
websocketd copied to clipboard
How can I use c/c++ as a websocket client rather than server?
I saw the example codes and it is great. It actually works. I got a working websocket connection running on windows 10 after trying other websockets which never worked for... get ready... "c or c++".
Question is, how can I use websocketd to run c/c++ code as a websocket client rather than a server?
Just basically want to avoid using javascript or anything else as the websocket client to pass data to the c/c++ program, would like to have the websocket server talk directly to the c/c++ websocket client.
Any implementation on this? Thanks.
I'm not sure I understand. Are you looking for c++ code to make websocket client requests? websocketd is not the right thing for that.
cpprestsdk has been a popular choice but I wouldn't recommend it because it is not actively maintained. It uses websocketpp under the hood for websockets which you can use directly.
I found a way, contact me to get the code. E-mail:[email protected] --From translator