Click here to Skip to main content
15,887,477 members
Home / Discussions / C#
   

C#

 
GeneralRe: Last modified time in file. Pin
PIEBALDconsult12-Apr-09 7:20
mvePIEBALDconsult12-Apr-09 7:20 
QuestionNAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching PinPopular
softwarejaeger11-Apr-09 22:41
softwarejaeger11-Apr-09 22:41 
AnswerRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot12-Apr-09 7:46
harold aptroot12-Apr-09 7:46 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger12-Apr-09 22:20
softwarejaeger12-Apr-09 22:20 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot13-Apr-09 2:16
harold aptroot13-Apr-09 2:16 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger13-Apr-09 22:20
softwarejaeger13-Apr-09 22:20 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 1:43
harold aptroot14-Apr-09 1:43 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 2:18
softwarejaeger14-Apr-09 2:18 
Exactly, but how do i know from which port a data package from the other side will come? For example:

Step 1: Client 1 sends a UDP Package to the Server (IP: 1.1.1.1:1000)
Step 2: Client 2 sends a UDP Package to the Server (IP: 2.2.2.2:2000)
Step 3: Client 1 and Client 2 gets the UDP Informations from each other from the server
Step 4: Client 1 (LAN: 192.168.1.1:61000, WAN:1.1.1.1:1001)sends a UDP Package to Client 2 (2.2.2.2:2000) (!! Couldn't work! Port 2000 is reserved for the server-address and port)
Step 5: Client 2 (LAN: 192.168.1.2:62000, WAN:2.2.2.2:2001) sends a UDP Package to Client 1 (1.1.1.1:1000) (!! Same problem like in Step 4)

So... here you see the problem. I must find out from which port the Client 1 WILL send his data the same for Client 2. And there i found no solution.
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 2:37
harold aptroot14-Apr-09 2:37 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 3:07
softwarejaeger14-Apr-09 3:07 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 3:18
harold aptroot14-Apr-09 3:18 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 3:23
softwarejaeger14-Apr-09 3:23 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 3:34
harold aptroot14-Apr-09 3:34 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 3:37
softwarejaeger14-Apr-09 3:37 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 3:56
harold aptroot14-Apr-09 3:56 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 4:00
softwarejaeger14-Apr-09 4:00 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 5:18
harold aptroot14-Apr-09 5:18 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 5:21
softwarejaeger14-Apr-09 5:21 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 5:33
harold aptroot14-Apr-09 5:33 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 5:40
softwarejaeger14-Apr-09 5:40 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 5:51
harold aptroot14-Apr-09 5:51 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 5:55
softwarejaeger14-Apr-09 5:55 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 6:21
harold aptroot14-Apr-09 6:21 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 6:34
softwarejaeger14-Apr-09 6:34 
GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
harold aptroot14-Apr-09 7:02
harold aptroot14-Apr-09 7:02 

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.