Click here to Skip to main content
15,889,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: USB Port Pin
Daniel Turini28-Aug-05 22:49
Daniel Turini28-Aug-05 22:49 
QuestionRegarding Crystal report Pin
just4ulove728-Aug-05 10:32
just4ulove728-Aug-05 10:32 
Questionencoding problem Pin
snouto28-Aug-05 8:34
snouto28-Aug-05 8:34 
QuestionString reverse function in c# Pin
atifciit28-Aug-05 8:25
atifciit28-Aug-05 8:25 
AnswerRe: String reverse function in c# Pin
DavidNohejl28-Aug-05 8:45
DavidNohejl28-Aug-05 8:45 
AnswerRe: String reverse function in c# Pin
Guffa28-Aug-05 8:45
Guffa28-Aug-05 8:45 
AnswerRe: String reverse function in c# Pin
28-Aug-05 8:47
suss28-Aug-05 8:47 
Questionnetwork problem Pin
snouto28-Aug-05 7:37
snouto28-Aug-05 7:37 
how are you dudes ?
How can i connect to online user using dial up connection on the internet by knowing his ip address ?
i mean if i have the ip address of one user on the internet but he uses dial up connection or DSL how can i connect to his pc using c#?
even if he is out of my ISP ( Internet Service Provider) on dial connection and if he is connected using DSL he is behind his router and his network configuration
i used this code
<br />
IpHostEntry myhost = Dns.Resolve(his ip address as string);<br />
IpAddress ip = myhost.addresslist[0];<br />
string[] aliases = myhost.aliases;<br />
ipendpoint remoteendpoint = new ipendpoint(ip,(Int32)10000);<br />
tcpclient myclient = new tcpclient();<br />
myclient.connect(remoteendpoint);<br />

is this code can connect to the users using dsl or dial up connection remotely ?
cause may be this code will not work cause when the user connect using dial up connection he takes virtual ip address from his ISP ( Internet Service Provider ) and if he is connected using DSL he is behind his router and network configuration.
The question is i didn't test this code with someone online on the internet but i want to know is this code can do the real work by connecting to the user at the specified ip address or no ?
please Help me with this
Please Reply to me please.

Thanks alot

Miss With The Best And Die Like The Rest
AnswerRe: network problem Pin
Dave Kreskowiak28-Aug-05 9:39
mveDave Kreskowiak28-Aug-05 9:39 
QuestionDetecting mouse clicks Pin
zeihou28-Aug-05 2:59
zeihou28-Aug-05 2:59 
AnswerRe: Detecting mouse clicks Pin
Mohamad Al Husseiny28-Aug-05 3:38
Mohamad Al Husseiny28-Aug-05 3:38 
QuestionShuting down the garbage collector Pin
Gilad Kapelushnik28-Aug-05 1:23
Gilad Kapelushnik28-Aug-05 1:23 
AnswerRe: Shuting down the garbage collector Pin
Colin Angus Mackay28-Aug-05 4:58
Colin Angus Mackay28-Aug-05 4:58 
GeneralRe: Shuting down the garbage collector Pin
Gilad Kapelushnik28-Aug-05 20:10
Gilad Kapelushnik28-Aug-05 20:10 
AnswerRe: Shuting down the garbage collector Pin
Daniel Turini28-Aug-05 22:44
Daniel Turini28-Aug-05 22:44 
Questionpassword problems Pin
nidhelp28-Aug-05 1:00
nidhelp28-Aug-05 1:00 
AnswerRe: password problems Pin
Mohamad Al Husseiny28-Aug-05 3:14
Mohamad Al Husseiny28-Aug-05 3:14 
GeneralRe: password problems Pin
nidhelp28-Aug-05 4:59
nidhelp28-Aug-05 4:59 
GeneralRe: password problems Pin
nidhelp28-Aug-05 5:25
nidhelp28-Aug-05 5:25 
AnswerRe: password problems Pin
Mohamad Al Husseiny28-Aug-05 3:28
Mohamad Al Husseiny28-Aug-05 3:28 
GeneralRe: password problems Pin
Matt Gerrans28-Aug-05 17:09
Matt Gerrans28-Aug-05 17:09 
Questionwhat is the differences by 'component' and 'windows form'? Pin
Sasuko28-Aug-05 0:47
Sasuko28-Aug-05 0:47 
AnswerRe: what is the differences by 'component' and 'windows form'? Pin
occcy29-Aug-05 3:42
occcy29-Aug-05 3:42 
QuestionProblem with Crystal Reports and Setup Pin
Claudio Grazioli28-Aug-05 0:43
Claudio Grazioli28-Aug-05 0:43 
Questionemergency ned to help(how to store datagrid in array list) Pin
malak nour27-Aug-05 22:54
malak nour27-Aug-05 22:54 

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.