socketsupply / socket

A cross-platform runtime for Web developers to build desktop & mobile apps for any OS using any frontend library.
https://socketsupply.co/guides
Other
1.6k stars 75 forks source link

Are there any plans to make socket work in a node.js environment #976

Open rockey2020 opened 4 months ago

rockey2020 commented 4 months ago

What OS are you using (uname -a, or Windows version)?

What version Socket Runtime are you using?

What programming language are you using (C/C++/Go/Rust)?

What did you expect to see and what you saw instead?

heapwolf commented 4 months ago

Can you elaborate more about what your goals are and about your question?

rockey2020 commented 4 months ago

If different applications use the p2p functionality of socket, in this case, I want the client and server to make p2p connections in the same way.

In this way, the front-end and back-end can be completely p2p

rockey2020 commented 4 months ago

For example, if the servers communicate with each other via p2p, it would be easy to expand the server cluster.

heapwolf commented 4 months ago

The p2p protocol is developed outside of socket and already runs in node. You can install socket and run the p2p protocol. I advice using the dev branch.