You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
rajhlinux
changed the title
any examples for c/c++?
How can I use c/c++ as a websocket client rather than server?
Apr 18, 2022
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 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.
The text was updated successfully, but these errors were encountered: