Click here to Skip to main content
16,005,138 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: help Pin
Pete O'Hanlon27-Nov-06 1:50
mvePete O'Hanlon27-Nov-06 1:50 
Questionvbsdk [modified] Pin
mermer4u25-Nov-06 4:16
mermer4u25-Nov-06 4:16 
AnswerRe: vbsdk Pin
Christian Graus25-Nov-06 15:47
protectorChristian Graus25-Nov-06 15:47 
Questionform background color Pin
Rmesh25-Nov-06 4:10
Rmesh25-Nov-06 4:10 
QuestionRe: form background color Pin
jsampsonPC25-Nov-06 6:06
jsampsonPC25-Nov-06 6:06 
AnswerRe: form background color Pin
leckey25-Nov-06 15:51
leckey25-Nov-06 15:51 
QuestionDll's registered on a machine Pin
Tarakeshwar Reddy25-Nov-06 3:56
professionalTarakeshwar Reddy25-Nov-06 3:56 
QuestionNAT Router Traversal Pin
stevenutt25-Nov-06 1:43
stevenutt25-Nov-06 1:43 
Guys,

I have a NAT traversal issue that I need to solve using VB.Net and I can't do it with the .Net socket class.

Here is an overview....

Remote client sends out a UDP packet from its internal IP on port 1234. The NAT router maps it to the external IP plus a mapped port (let's say 9999)

My UDP listening software picks up the packet and I am able to find out the IP address and mapped port number (source port). The problem with NAT is that if I do not send a packet back from the same source port - it will be rejected (symmetric NAT).

So, in my VB/net app, I connect and send back a response as follows....

udpClient.Connect(RemoteIP, SourcePort)
'code to send the packet goes here

I use Ethereal to view the packet going out and the destination port is 9999 as expected, but the source port of the response gets mapped to a different port number. So, even though the packet hits the correct remote router port, it gets rejected because it came from a different source port.

My question is, what hardware device is mapping the source port of my packet and how do I stop this from happening - or work around it ?
Questionhow to do combination of numbers in single table at both sql server and vb.net? Pin
sathyan_829424-Nov-06 21:23
sathyan_829424-Nov-06 21:23 
AnswerRe: how to do combination of numbers in single table at both sql server and vb.net? Pin
Guffa25-Nov-06 0:06
Guffa25-Nov-06 0:06 
GeneralRe: how to do combination of numbers in single table at both sql server and vb.net? Pin
sathyan_829425-Nov-06 0:50
sathyan_829425-Nov-06 0:50 
GeneralRe: how to do combination of numbers in single table at both sql server and vb.net? Pin
Guffa25-Nov-06 4:22
Guffa25-Nov-06 4:22 
GeneralRe: how to do combination of numbers in single table at both sql server and vb.net? Pin
Paul Conrad25-Nov-06 18:40
professionalPaul Conrad25-Nov-06 18:40 
Questionhow to write a code for print data grid? Pin
Rmesh24-Nov-06 21:08
Rmesh24-Nov-06 21:08 
QuestionRe: how to write a code for print data grid? Pin
jsampsonPC25-Nov-06 6:08
jsampsonPC25-Nov-06 6:08 
AnswerRe: how to write a code for print data grid? Pin
Duncan Edwards Jones25-Nov-06 22:35
professionalDuncan Edwards Jones25-Nov-06 22:35 
QuestionAsks HttpWebResponse the question Pin
lyfer_leaf24-Nov-06 20:31
lyfer_leaf24-Nov-06 20:31 
Questiondiference between validation and validating? Pin
Rmesh24-Nov-06 20:29
Rmesh24-Nov-06 20:29 
AnswerRe: diference between validation and validating? Pin
Guffa25-Nov-06 0:10
Guffa25-Nov-06 0:10 
GeneralRe: diference between validation and validating? Pin
Rmesh25-Nov-06 0:35
Rmesh25-Nov-06 0:35 
GeneralRe: diference between validation and validating? Pin
Paul Conrad25-Nov-06 18:35
professionalPaul Conrad25-Nov-06 18:35 
GeneralRe: diference between validation and validating? Pin
Dave Kreskowiak26-Nov-06 15:21
mveDave Kreskowiak26-Nov-06 15:21 
QuestionUser Manual..... Pin
FeNnY'$24-Nov-06 19:40
FeNnY'$24-Nov-06 19:40 
AnswerRe: User Manual..... Pin
Guffa25-Nov-06 4:38
Guffa25-Nov-06 4:38 
QuestionPMT/ PPMT Function Pin
momooomooomomo24-Nov-06 15:27
momooomooomomo24-Nov-06 15:27 

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.