Click here to Skip to main content
15,893,622 members
Home / Discussions / C#
   

C#

 
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 
OK, you're not getting it...

The server doesn't need the port number at all since the clients receiving port number will be the same on every instance of the client. This is the "well-known" part. For example, SMTPs well-known port is 25.

But, since the NAT can do port forwarding, the port number the NAT exposes on the internet side can be different than the port exposed by the client to receive connections. The NAT needs to know what IP and port to send the traffic on that port to on the inside network.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




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 
GeneralRe: Detecting the correct outside port Pin
S. Senthil Kumar1-Jun-09 11:07
S. Senthil Kumar1-Jun-09 11:07 
GeneralRe: Detecting the correct outside port Pin
Dave Kreskowiak1-Jun-09 12:02
mveDave Kreskowiak1-Jun-09 12:02 
GeneralRe: Detecting the correct outside port Pin
harold aptroot1-Jun-09 6:48
harold aptroot1-Jun-09 6:48 
QuestionNeed Help printing DataGridView Pin
jashimu1-Jun-09 5:00
jashimu1-Jun-09 5:00 
AnswerRe: Need Help printing DataGridView Pin
0x3c01-Jun-09 5:07
0x3c01-Jun-09 5:07 
AnswerRe: Need Help printing DataGridView Pin
Henry Minute1-Jun-09 5:12
Henry Minute1-Jun-09 5:12 
QuestionAPI to control bass and treble Pin
dptalt1-Jun-09 4:34
dptalt1-Jun-09 4:34 
AnswerRe: API to control bass and treble Pin
Michael Bookatz1-Jun-09 4:43
Michael Bookatz1-Jun-09 4:43 
AnswerRe: API to control bass and treble Pin
bearfx1-Jun-09 4:44
bearfx1-Jun-09 4:44 
AnswerRe: API to control bass and treble Pin
DaveyM691-Jun-09 4:49
professionalDaveyM691-Jun-09 4:49 
AnswerRe: API to control bass and treble Pin
Kythen1-Jun-09 9:58
Kythen1-Jun-09 9:58 
Questionhow to show make differnet view for tree view nodes? Pin
samy1001-Jun-09 3:47
samy1001-Jun-09 3:47 
AnswerRe: how to show make differnet view for tree view nodes? Pin
Henry Minute1-Jun-09 5:04
Henry Minute1-Jun-09 5:04 
GeneralRe: how to show make differnet view for tree view nodes? Pin
samy1001-Jun-09 5:35
samy1001-Jun-09 5:35 

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.