Click here to Skip to main content
15,920,688 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A goto box Pin
Moak6-Mar-03 15:23
Moak6-Mar-03 15:23 
GeneralRe: A goto box Pin
Chris Meech7-Mar-03 4:54
Chris Meech7-Mar-03 4:54 
GeneralRe: A goto box Pin
Stefan Pedersen6-Mar-03 10:34
Stefan Pedersen6-Mar-03 10:34 
GeneralThe EM_SETCUEBANNER message Pin
Cancer_6-Mar-03 10:06
Cancer_6-Mar-03 10:06 
GeneralRe: The EM_SETCUEBANNER message Pin
Blake Miller7-Mar-03 9:29
Blake Miller7-Mar-03 9:29 
GeneralListening on a socket, inside a network Pin
obe6-Mar-03 10:00
obe6-Mar-03 10:00 
GeneralRe: Listening on a socket, inside a network Pin
Moak6-Mar-03 14:59
Moak6-Mar-03 14:59 
GeneralRe: Listening on a socket, inside a network Pin
obe6-Mar-03 23:58
obe6-Mar-03 23:58 
Thanks for the elaborate reply!

I'm not sure I completely understood what you meant, though.

I understand why this issue is problematic (the router not knowing how to handle an incoming connection to a port that it did not create) - but still - this seems to work on mIRC - without doing special configuration to the gateway, or to the mIRC application.

So I figured that maybe when I bind a socket to 0 on an internal machine, the underlying network components realize that it's an internal machine, and notify the gateway of the port number that is given to the socket at the end, so it can play along.

Do you know of a programmatic and general way to work around this issue? Without knowing what gateway software is being used, and without asking the user to configure anything?

Thank you very much,
Oz

GeneralRe: Listening on a socket, inside a network Pin
Moak7-Mar-03 2:39
Moak7-Mar-03 2:39 
GeneralRe: Listening on a socket, inside a network Pin
obe7-Mar-03 2:57
obe7-Mar-03 2:57 
GeneralRe: Listening on a socket, inside a network Pin
Moak7-Mar-03 3:20
Moak7-Mar-03 3:20 
GeneralPrinting to non-default printer without showing dialog Pin
The Lady of Shallots6-Mar-03 9:59
The Lady of Shallots6-Mar-03 9:59 
GeneralRe: Printing to non-default printer without showing dialog Pin
CodeBrain6-Mar-03 21:52
CodeBrain6-Mar-03 21:52 
GeneralRe: Printing to non-default printer without showing dialog Pin
Roger Allen7-Mar-03 2:00
Roger Allen7-Mar-03 2:00 
Generalstatic global object initialization order Pin
Scott H. Settlemier6-Mar-03 9:56
Scott H. Settlemier6-Mar-03 9:56 
GeneralRe: static global object initialization order Pin
Stefan Pedersen6-Mar-03 10:22
Stefan Pedersen6-Mar-03 10:22 
GeneralRe: static global object initialization order Pin
Tim Smith6-Mar-03 10:30
Tim Smith6-Mar-03 10:30 
Generaldecoding a tcp stream Pin
Kuniva6-Mar-03 9:55
Kuniva6-Mar-03 9:55 
GeneralRe: decoding a tcp stream Pin
Stefan Pedersen6-Mar-03 10:19
Stefan Pedersen6-Mar-03 10:19 
GeneralRe: decoding a tcp stream Pin
Anonymous6-Mar-03 10:22
Anonymous6-Mar-03 10:22 
GeneralRe: decoding a tcp stream Pin
Kuniva6-Mar-03 10:32
Kuniva6-Mar-03 10:32 
GeneralRe: decoding a tcp stream Pin
Kuniva6-Mar-03 10:37
Kuniva6-Mar-03 10:37 
GeneralRe: decoding a tcp stream Pin
Abbas_Riazi7-Mar-03 20:21
professionalAbbas_Riazi7-Mar-03 20:21 
GeneralRe: decoding a tcp stream Pin
Kuniva8-Mar-03 4:26
Kuniva8-Mar-03 4:26 
Generalno more console apps!! Pin
Anonymous6-Mar-03 9:28
Anonymous6-Mar-03 9:28 

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.