Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rockey2020 opened this issue Apr 26, 2024 · 4 comments
Open

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

rockey2020 opened this issue Apr 26, 2024 · 4 comments

Comments

@rockey2020
Copy link

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 rockey2020 changed the title Are there any plans to make sockets work in a node.js environment Are there any plans to make socket work in a node.js environment Apr 26, 2024
@heapwolf
Copy link
Member

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

@rockey2020
Copy link
Author

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
Copy link
Author

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

@heapwolf
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants