networking - c++ Library for direct pc to pc communication in a Wide area network (WAN) -


the idea make connection between 2 pcs, each 1 internet access connect other. both pcs can in same lan or not, , or behind routers, main idea thing internet access.

first of all, question is: possible or exist kind of solution not include intermediates or route configurations allow direct communication between 2 pcs? (remember idea connect directly without external configurations, 2 places allowed configured both pcs communicate each other).

second question is: if possible, libraries or kind of solution suggest accomplish (a c++ way/library appreciated not mandatory)

thanks

in general, no, you're looking no longer possible.

whilst internet designed around "end-to-end communication", relatively dumb network in between nodes, what's happened more , more network devices in way.

in particular, nat devices make more or less impossible make direct point-to-point connections between arbitrary devices on internet.

hence systems these days rely on central device (to both nodes can connect) proxies (or relays) packets between nodes.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -