nat-traversal

How does peer2peer work through a router?

How does one PC connect to another over the internet to another PC? An example would be a program listening for connections on PC 1. PC 1 sits behind Router 1. PC 2 has a client program trying to connect to PC 1. What is the correct technology/technique to use as the listening program in this situation? ...

UDP, NAT and setting up "connections"

I know the word "connection" isn't really appropriate when talking about UDP, but... How does a server (the one with the known IP) get its UDP packets through the Internet to a client that is behind NAT? For example: say a client connects and authenticates to the server using some messaging over TCP. At this point the server is ready t...

how to handle NAT traversal in c++ peer to peer application ( please code examples not theory )

Hello all i need to develop simple game that will be using peer to peer connection using centralize index manger server i know there is problem when client trying to connect other client behind router . i was reading about NAT traversal that explain mainly theory , but what i really like to see is code examples c++/java can you help m...

How messengers (IM) works (listening) ?

My task is to write a Messenger program for both internal and external staffs, I actually made it. However, I thing this is really not a good approach by using the client software keep "check-mesg" from server. So I think I am just simulating the IM program. I want to make the client app become a listening server, and let user p2p talk...

Is there any framework or library alowing a deweloper push his pipe thru the NAT and recive it on back end as a pipe?

So I have an app on 1 pc creating a pipe, local pipe. I want to take it as a stream (like only last data in it or incoming data from it) and stream its data thru\over NAT (using nat traversal) to other pc somewhere ower NAT (so neather I or He has uniqe IP adress but we use nat traversal server\programm to comunicate) and there recive th...

Is there any .NET NAT Traversal open source app\tutorial?

Is there any NAT Traversal open source app\tutorial written in .Net C# using some open source lib\API or native .Net libs? ...

Is there any protocol like UPnP for router Loopback? (Loopback NAT)

We can use UPnP protocols to Forward users port. SO TO DO SIMPLE NAT TRAVERSAL. But problems appear after such operation. My main point is - you can forward users port - bind it to globall adress, you can acsess it from glogal internet, but you can not from local network (ower the NAT). So I wonder if there is some protocol set that al...

Practical NAT traversal for reliable network connections

I've seen and read a lot of similar questions, and the corresponding Wikipedia articles (NAT traversal, STUN, TURN, TCP hole punching), but the overwhelming amount of information doesn't really help me with my very simple problem: I'm writing a P2P application, and I want two users of my application behind NAT to be able to connect to e...

Is any one using GAE for Nat traversal? (as server for keeping mappings)

So I can limit my app with UPNP NATs capable clients. I would love to see any Opensource Java project using GAE as server for keeping maps like (ClientID, IP:PORT) (with example of some on clients simple hole puncher) Is there any such project? ...

Example of simple port forwarding using any UPnP library in Java?

I want to open port 5555 on my machine using UPnP to the world. Could you please provide me with such Java sample for any sutable Opensource library. I need A CODE SAMPLE like one I can give you for C# using this lib using TCMPortMapper; private void Form1_Load() { PortMapper.SharedInstance.Start(); PortMapping pm = new PortMapping...