Click here to Skip to main content
15,921,210 members
Home / Discussions / C#
   

C#

 
QuestionIf an exception is thrown inside a lock {...} [modified] Pin
Marc Clifton10-Jun-06 7:24
mvaMarc Clifton10-Jun-06 7:24 
AnswerRe: If an exception is thrown inside a lock {...} [modified] Pin
Ravi Bhavnani10-Jun-06 9:42
professionalRavi Bhavnani10-Jun-06 9:42 
GeneralRe: calculating diff between 2 dates Pin
Guffa10-Jun-06 8:49
Guffa10-Jun-06 8:49 
GeneralRe: calculating diff between 2 dates Pin
Yustme10-Jun-06 8:50
Yustme10-Jun-06 8:50 
AnswerRe: calculating diff between 2 dates Pin
Guffa10-Jun-06 11:16
Guffa10-Jun-06 11:16 
AnswerRe: calculating diff between 2 dates Pin
Guffa10-Jun-06 22:27
Guffa10-Jun-06 22:27 
GeneralRe: calculating diff between 2 dates [modified] Pin
Yustme11-Jun-06 0:16
Yustme11-Jun-06 0:16 
QuestionNat Traversal Problem Pin
snouto10-Jun-06 6:46
snouto10-Jun-06 6:46 
hello everybody in this forum.
first of all , i would like to thank every programmer that helped me in the last few problems i faced , Really i respect all of you in this great website for programmer to programmer experience sharing.

i face one problem in connection . every body knows that i can't connect to a user connected through DSL or broadband connection users cause their Private network is mapped by a NAT Router that Connects them to the outside world. That is fine
but i would like to connect to any user on the world wide web for these reasons i successfully programmed the following
-------------------
1)i succeeded to add my application to Windows Firewall programmatically to the exception list.
2)i added my application port that the messenger will listen on and receieve incoming packets from the outside world in SERVICES programmatically .
Services options are found in your current connection Settings under
Go to your control panel - > Network connections - >current connection -- > properties ->advanced -> Settings -> Advanced Tab -> Select your current connection -> and press settings - >this is where i added my application successfully once it runs programmatically through Hnetcfg.dll in system32 but the problem still exists
The problem is that my friends on DSL or broadband connection that have my application running , i can't connect to them directly even when i had their router ip address and my application also had successfully added itself in the above settings.
----------------------------------------------
I read in MSDN that there is NAT TRaversal . and they expose alot of interfaces like INATupnp , IStaticPortMappings and others interfaces which are existed in hnetcfg.dll but when i add that file to my application i don't find those interfaces.

Note:
------
i was on winxp sp1 and then installed winxp sp2 and also i didn't find those interfaces .
So any one can help me to make the router for Lan Users know how to deliver packets to their specified computers in Lan from the outside world ?

Please i want to reduce the traffic and bandwidth from the server itself by direct connection.


Human knowledge belongs to the world.
QuestionProblem in UnmanagedTypes Pin
EngHafez10-Jun-06 5:28
EngHafez10-Jun-06 5:28 
QuestionParse text file and load data to text boxes Pin
Saamir10-Jun-06 4:57
Saamir10-Jun-06 4:57 
AnswerRe: Parse text file and load data to text boxes Pin
Nafiseh Salmani10-Jun-06 22:39
Nafiseh Salmani10-Jun-06 22:39 
GeneralRe: Parse text file and load data to text boxes [modified] Pin
Saamir11-Jun-06 4:35
Saamir11-Jun-06 4:35 
Questiontray application pocket pc Pin
NikoTanghe10-Jun-06 3:58
NikoTanghe10-Jun-06 3:58 
QuestionDataGridView.SelectedRows Pin
peshawarcoder10-Jun-06 3:38
peshawarcoder10-Jun-06 3:38 
QuestionDining Philosopher Problem Pin
jazi-b10-Jun-06 3:26
jazi-b10-Jun-06 3:26 
QuestionListBox and DrawItem event Pin
Nafiseh Salmani10-Jun-06 2:43
Nafiseh Salmani10-Jun-06 2:43 
AnswerRe: ListBox and DrawItem event Pin
Ed.Poore10-Jun-06 3:30
Ed.Poore10-Jun-06 3:30 
QuestionRe: ListBox and DrawItem event Pin
Nafiseh Salmani10-Jun-06 22:18
Nafiseh Salmani10-Jun-06 22:18 
AnswerRe: ListBox and DrawItem event Pin
Ed.Poore10-Jun-06 23:21
Ed.Poore10-Jun-06 23:21 
QuestionPDA start up page Pin
AhsanS10-Jun-06 1:13
AhsanS10-Jun-06 1:13 
Questionhow to select all table names Pin
cellardoor071610-Jun-06 0:32
cellardoor071610-Jun-06 0:32 
AnswerRe: how to select all table names Pin
albCode10-Jun-06 0:46
albCode10-Jun-06 0:46 
GeneralRe: how to select all table names Pin
cellardoor071610-Jun-06 0:49
cellardoor071610-Jun-06 0:49 
GeneralRe: how to select all table names Pin
albCode10-Jun-06 0:52
albCode10-Jun-06 0:52 
QuestioncomboBox Pin
andrei_dalcu10-Jun-06 0:02
andrei_dalcu10-Jun-06 0: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.