Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have known the intranet ip 192.168.1.100 and internet ip 78.x.x.x,can I send a string to the intranet computer by this way,
UdpClient myUdpClient = new UdpClient();
.....
myUdpClient.send(X,X,X);
And how is the ip address like?
Thanks~
Posted

1 solution

Check this
http://msdn.microsoft.com/en-us/library/82dxxas0(v=VS.90).aspx[^]

Within Intranet you definitely can use Intranet IP.
 
Share this answer
 
v2
Comments
eric881027 15-Jul-11 3:37am    
I mean for example I am in USA,and the computer is in China,I know the computer's
intranet ip and internet ip, we are not in the same intranet.Can I send the message like this, and how is the ip will be?
Thanks
Prerak Patel 15-Jul-11 4:43am    
Use Internet IP then.
eric881027 15-Jul-11 5:13am    
Just using the Internet Ip will be ok?
Prerak Patel 15-Jul-11 5:23am    
Just try it and let us know what problem you have.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900