c# peer-to-peer networking - getting around routers
Posted
by The.Anti.9
on Stack Overflow
See other posts from Stack Overflow
or by The.Anti.9
Published on 2010-04-25T22:39:10Z
Indexed on
2010/04/25
22:43 UTC
Read the original article
Hit count: 469
I want to code a peer-to-peer like chat program in C#. I am trying to figure out how the networking would work. I know that the concept is that each peer is a client and a server at the same time. It can connect and be connected to. But my question is, how do you connect to a computer behind a router without the port being forwarded to that computer? I know things like Bittorrent do this with no problem. I was planning on using a tracker to keep a list of peers and the ports they listen on, but I still don't understand how to get through the router issue. Could someone please explain?
© Stack Overflow or respective owner