Click here to Skip to main content
16,014,892 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Listening on a socket, inside a network Pin
Moak7-Mar-03 2:39
Moak7-Mar-03 2:39 
hmmm I'm suprised! Smile | :)

I didn't know that mIRC works reliable with DCCs (on SNATed/MASQed gateways) without having an IRC module or forwarding rules on the gateway. Are you sure that you not rely on the other side to handle incoming connections (one of two envolved peers has to be able to handle incoming connections *)? Are you sure you have no Linux or BSD as gateway (the IRC module is per default installed on most Unix distributions)?
Honestly, I have no idea how you could forward incoming TCP/IP traffic without special treatment. I did run into the same problems when learning about P2P network programming. That's why I tried to understand & explain what happens on a gateway, and which solutions exist IMHO. I would be very gratefull about any additional solutions!

Well, there is one thing left I did forget to mention. Contrary to IRC most (all) games do use UDP as transportation instead of TCP and many gateways have a so called "lose UDP patch". I don't know any details about the underlying mechanism... but somehow the gateway routes incoming UDP datagramms into the LAN and to the appropriate game client. Anyone with more experience here?

As far as I know IRC protocol uses TCP only, RFC 1459 etc[^]. ATM there is no general way (or simple sockets call) to work around this 'incoming traffic' issue.

Hope it helps, Moak

* = If the other peer handles incoming connections, then the problem is omitted. It doesnt matter who creates the connection, once it is established it can be used. If your opponent can't too, your DCC will fail. Relying on the other is always bad, sometimes it works, sometimes it fails.... well you know what I mean, if you have some unreliable friends. *g*
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 
GeneralRe: no more console apps!! Pin
Anonymous6-Mar-03 9:30
Anonymous6-Mar-03 9:30 

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.