socket icon indicating copy to clipboard operation
socket copied to clipboard

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

Open rockey2020 opened this issue 9 months ago • 4 comments

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?

rockey2020 avatar Apr 26 '24 10:04 rockey2020

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

heapwolf avatar Apr 26 '24 10:04 heapwolf

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 avatar Apr 26 '24 10:04 rockey2020

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

rockey2020 avatar Apr 26 '24 10:04 rockey2020

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.

heapwolf avatar Apr 26 '24 14:04 heapwolf