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

C#

 
GeneralRe: Last modified time in file. Pin
Karmendra Suthar12-Apr-09 7:01
Karmendra Suthar12-Apr-09 7:01 
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 
softwarejaeger wrote:
But i can't see into the future, which port the router will use

I don't think that's quite right, official sites say "an external host can send a packet, with source IP address X and source port P, to the internal host only if the internal host had previously sent a packet to IP address X and port P. " I think it means that as long as you send the first packet, you can receive packets as well, but only from the IP that you sent to and only from the port that you sent to. Both ends can send what looks like the first packet to them, so this isn't a problem, just send a bogus packet first (but it must be to the same IP/port combination as what you want to receive from)



GeneralRe: NAT Traversal in C# (P2P behind firewalls/NAT Routers), UDP Hole Punching Pin
softwarejaeger14-Apr-09 2:18
softwarejaeger14-Apr-09 2:18 
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 

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.