Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
QuestionProblem during deserialization Pin
lnmca9-Apr-09 0:24
lnmca9-Apr-09 0:24 
AnswerRe: Problem during deserialization Pin
Rob Philpott9-Apr-09 0:51
Rob Philpott9-Apr-09 0:51 
GeneralRe: Problem during deserialization Pin
lnmca9-Apr-09 1:13
lnmca9-Apr-09 1:13 
GeneralRe: Problem during deserialization Pin
Rob Philpott9-Apr-09 1:21
Rob Philpott9-Apr-09 1:21 
GeneralRe: Problem during deserialization Pin
lnmca9-Apr-09 1:36
lnmca9-Apr-09 1:36 
GeneralRe: Problem during deserialization Pin
Rob Philpott9-Apr-09 1:57
Rob Philpott9-Apr-09 1:57 
GeneralRe: Problem during deserialization Pin
Giorgi Dalakishvili9-Apr-09 2:11
mentorGiorgi Dalakishvili9-Apr-09 2:11 
QuestionUDP Hole Punching/STUN tutorials/SDK? Pin
softwarejaeger9-Apr-09 0:21
softwarejaeger9-Apr-09 0:21 
Hello,

has somebody a tutorial for UDP Hole Punching or STUN? I have a few problems with the UDP Punching and a few points which i don't understand, maybe somebody could help me:

Here an article to UDP Hole Punching: http://www.h-online.com/security/How-Skype-Co-get-round-firewalls--/features/82481[^]">

so, UDP Hole Punching works like this, you have 2 clients and one server which knows the IP-Adresses of the clients and their ports over which they would send their UDP Packages (so here's the first problem, from where does the server know, which ports the client use?)

first step: Client1 gets the IP-Adress and the Port (see above, here's the problem) of Client 2.
second step: CLient1 (IP: 1.1.1.1:1000) sends a package to Client 2 (IP: 2.2.2.2:???? Which port is it?) over UDP, which will be deleted on the NAT-Router of Client 2 (no incoming packages)
third step: Client 1 sends the server the information to initiiate a connection to Client 2 over the port 1000 (Client 1) and the Port ???? (Client 2).
fourth step: CLient 2 gets the information to create a udp-connection to CLient 1 (IP: 1.1.1.1:1000) over his Port ????.


Well, you see the principle is easy, but the Ports of CLient 2 are my big problem, how do i find that out? Has somebody experience in UDP Hole Punching or STUN? Well, what's STUN? I get from a STUN server only my Port, from which i sendet my package to the Server, but another client couldn't do anything with that port and thats the problem how to find out the port of my partner.

Many Thansk
AnswerRe: UDP Hole Punching/STUN tutorials/SDK? Pin
bewithram4-Jul-09 9:59
bewithram4-Jul-09 9:59 
AnswerRe: UDP Hole Punching/STUN tutorials/SDK? Pin
digichetan4-Sep-09 11:40
digichetan4-Sep-09 11:40 
GeneralRe: UDP Hole Punching/STUN tutorials/SDK? Pin
Cosby5-Dec-09 12:09
Cosby5-Dec-09 12:09 
AnswerRe: UDP Hole Punching/STUN tutorials/SDK? Pin
Cosby7-Dec-09 2:26
Cosby7-Dec-09 2:26 
GeneralRe: UDP Hole Punching/STUN tutorials/SDK? Pin
srdusad17-Apr-10 0:14
srdusad17-Apr-10 0:14 
Questionhow can i minimize my program i the sytem try ? Pin
ariyanna9-Apr-09 0:09
ariyanna9-Apr-09 0:09 
AnswerRe: how can i minimize my program i the sytem try ? Pin
DaveyM699-Apr-09 0:15
professionalDaveyM699-Apr-09 0:15 
AnswerRe: how can i minimize my program i the sytem try ? Pin
Giorgi Dalakishvili9-Apr-09 0:16
mentorGiorgi Dalakishvili9-Apr-09 0:16 
AnswerRe: how can i minimize my program i the sytem try ? Pin
jaypatel5129-Apr-09 20:46
jaypatel5129-Apr-09 20:46 
QuestionCreate dll Pin
Trih8-Apr-09 23:55
Trih8-Apr-09 23:55 
AnswerRe: Create dll Pin
stancrm9-Apr-09 0:08
stancrm9-Apr-09 0:08 
AnswerRe: Create dll Pin
Giorgi Dalakishvili9-Apr-09 0:08
mentorGiorgi Dalakishvili9-Apr-09 0:08 
AnswerRe: Create dll Pin
dojohansen9-Apr-09 0:34
dojohansen9-Apr-09 0:34 
QuestionStop while loop Pin
yesu prakash8-Apr-09 23:54
yesu prakash8-Apr-09 23:54 
AnswerRe: Stop while loop Pin
stancrm9-Apr-09 0:07
stancrm9-Apr-09 0:07 
GeneralRe: Stop while loop Pin
yesu prakash9-Apr-09 0:24
yesu prakash9-Apr-09 0:24 
GeneralRe: Stop while loop Pin
dojohansen9-Apr-09 0:49
dojohansen9-Apr-09 0:49 

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.