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

Hole punch #65

Open
Deepp0925 opened this issue Apr 10, 2020 · 4 comments
Open

Hole punch #65

Deepp0925 opened this issue Apr 10, 2020 · 4 comments

Comments

@Deepp0925
Copy link

Sometimes one computer does not connect to the other computer on the same network.

Any help is appreciated

@okdistribute
Copy link
Collaborator

okdistribute commented Apr 10, 2020

See https://github.com/hyperswarm, which is now replacing the use of discovery-swarm.

@mafintosh do we want to add a deprecation notice on the README?

@Deepp0925
Copy link
Author

I tested that one as well and it just does not want to connect on an open network. Btw I am trying to connect a windows 10 to Mac OS Catalina

@mafintosh
Copy link
Owner

@Deepp0925 holepunching doesn’t work on all routers. If you are using hyperswarm, what does swarm.holepunchable() return after running for a bit?

Deprecation notice makes sense

@Deepp0925
Copy link
Author

Deepp0925 commented Apr 11, 2020

@mafintosh I am running the example, here is a snippet
swarm.join( key, { announce: true, lookup: true, }, function () { console.log(swarm.holepunchable()); console.log("fully joined..."); } );

and the log prints true

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

3 participants