Hello,
I ended up implementing UDP Hole punching technique, it has a high success rate and it's easy to implement.
The basic concept is that both computers A and B must send a UDP packets to each other at the same time, you'll need a rendezvous server to sync between the two computers before...
Well guys, I made some progress in my research, what I got is the following:
1. If either router supports UPnP (basically a way to tell the router to forward ports from my application) I'd forward the port I need from my application and use it as a server.
2. If not, there's a nice method...
Well, the two locations are undefined, it could be anywhere connecting to anywhere, I'm writing a software that'll be used by many people, what I'm trying to achieve is a software with minimal configuration especially when it comes to networks and routers.
Well, that's what I'm trying to avoid, I don't want the user to do any extra configuration.
My question is there anyway to establish the connection without any extra configuration?
There's a software called TeamViewer that does that, do you know how it works?
I should clarify more, the computers aren't on the same network, the communication I want to do is over the internet.
So basically each computer is behind a different router.
Hello,
I'm working on a code that connects two computers together to transfer files between them, right now if one computer is behind a router I make it the client and the other computer becomes the server, however if both computers are behind routers I can't seem to do anything about it.
I do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.