Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
QuestionDetecting the correct outside port Pin
harold aptroot1-Jun-09 5:06
harold aptroot1-Jun-09 5:06 
AnswerRe: Detecting the correct outside port Pin
Eddy Vluggen1-Jun-09 5:15
professionalEddy Vluggen1-Jun-09 5:15 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 5:35
harold aptroot1-Jun-09 5:35 
AnswerRe: Detecting the correct outside port Pin
Nicholas Butler1-Jun-09 5:28
sitebuilderNicholas Butler1-Jun-09 5:28 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 5:33
harold aptroot1-Jun-09 5:33 
GeneralRe: Detecting the correct outside port Pin
Nicholas Butler1-Jun-09 5:50
sitebuilderNicholas Butler1-Jun-09 5:50 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 6:10
harold aptroot1-Jun-09 6:10 
GeneralRe: Detecting the correct outside port Pin
Nicholas Butler1-Jun-09 6:28
sitebuilderNicholas Butler1-Jun-09 6:28 
I'm not sure how bittorrent works, but most P2P networks nominate a peer that is not behind a NAT ( and can therefore be connected to ) to act as a server for a client that is behind a NAT. That's how Skype works - or at least used to work.

Generally, connecting to a client that is behind a NAT is too difficult and unreliable to be used in the design of a P2P network.

Ah, a bit of googling found this: http://www.codeproject.com/Messages/3001183/NAT-Traversal-in-Csharp-P2P-behind-firewalls-NAT-Routers-UDP-Hole-Punching.aspx[^]. Are you still trying to help this guy?

Nick

----------------------------------
Be excellent to each other Smile | :)

GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 6:32
harold aptroot1-Jun-09 6:32 
GeneralRe: Detecting the correct outside port Pin
Luc Pattyn1-Jun-09 5:56
sitebuilderLuc Pattyn1-Jun-09 5:56 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 6:01
harold aptroot1-Jun-09 6:01 
GeneralRe: Detecting the correct outside port Pin
Dave Kreskowiak1-Jun-09 6:22
mveDave Kreskowiak1-Jun-09 6:22 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 6:28
harold aptroot1-Jun-09 6:28 
GeneralRe: Detecting the correct outside port Pin
Dave Kreskowiak1-Jun-09 8:54
mveDave Kreskowiak1-Jun-09 8:54 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 8:59
harold aptroot1-Jun-09 8:59 
GeneralRe: Detecting the correct outside port Pin
Dave Kreskowiak1-Jun-09 9:13
mveDave Kreskowiak1-Jun-09 9:13 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 9:21
harold aptroot1-Jun-09 9:21 
GeneralRe: Detecting the correct outside port Pin
Dave Kreskowiak1-Jun-09 10:49
mveDave Kreskowiak1-Jun-09 10:49 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 11:06
harold aptroot1-Jun-09 11:06 
GeneralRe: Detecting the correct outside port Pin
Dave Kreskowiak1-Jun-09 12:01
mveDave Kreskowiak1-Jun-09 12:01 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 12:43
harold aptroot1-Jun-09 12:43 
GeneralRe: Detecting the correct outside port Pin
Dave Kreskowiak1-Jun-09 16:40
mveDave Kreskowiak1-Jun-09 16:40 
GeneralRe: Detecting the correct outside port Pin
harold aptroot2-Jun-09 0:26
harold aptroot2-Jun-09 0:26 
GeneralRe: Detecting the correct outside port Pin
Dave Kreskowiak2-Jun-09 1:46
mveDave Kreskowiak2-Jun-09 1:46 
GeneralRe: Detecting the correct outside port Pin
harold aptroot2-Jun-09 2:48
harold aptroot2-Jun-09 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.