Answer the question
In order to leave comments, you need to log in
Do you know solutions for peer-to-peer tunnels over Websocket?
Tell the respected public, are there any solutions in nature for point-to-point communication via websocket?
UseCase is something like this: There is an IoT device that sends telemetry every second and is ready to receive signals from outside (for example, turn on / off the port), there is a browser application for management.
What would be the easiest way to connect a device to a client without heavyweight VPN clients.
Ideally, I would like to find something like a websocket server that would serve as a proxy in both directions. Ideally, I would like to see something like a ready-made websocket proxy that could be used in other ready-made projects without a coordinate alteration.
Approximately how it should look (for clarity),
С1<---websocket--->Server<---websocket-- --->C2
but so that C1 and C2 think that they are communicating directly:
C1<-----websocket-------->C2
Answer the question
In order to leave comments, you need to log in
probably the lightest web server and socket client, ideal for IoT:
https://github.com/jeremyhahn/cwebsocket
there are actually a lot of them, google websocket client c (or arm or iot)
you can set up the server directly on the device but this is bad practice , if you need access from the Internet, not just the local network.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question