IP ADDRESS - Problem
-
I am developing a client server application. For to do that I opend the port 1234 in two machines and send some data to destination. UdpClient udpClient = new UdpClient(); udpClient.Connect(123.123.123.123,1234); Byte[] sendBytes = Encoding.ASCII.GetBytes("TEST"); udpClient.Send(sendBytes,sendBytes.Length); But I am working in a LAN. Means my IP address is local to this LAN. I want to communicate to the machine in a different network. How can I get the actual IP address ?. Eg : my ip address is 192.168.1.16 ( if give the command ipconfig in command window). Its local to my network. But my IP in the global status is our router IP. The how can I identify each computer from another network ?. How yahoo messanger in identifying each computer in the lan ? any help Please ... Thanks in advance Cheers Jijo:)
-
I am developing a client server application. For to do that I opend the port 1234 in two machines and send some data to destination. UdpClient udpClient = new UdpClient(); udpClient.Connect(123.123.123.123,1234); Byte[] sendBytes = Encoding.ASCII.GetBytes("TEST"); udpClient.Send(sendBytes,sendBytes.Length); But I am working in a LAN. Means my IP address is local to this LAN. I want to communicate to the machine in a different network. How can I get the actual IP address ?. Eg : my ip address is 192.168.1.16 ( if give the command ipconfig in command window). Its local to my network. But my IP in the global status is our router IP. The how can I identify each computer from another network ?. How yahoo messanger in identifying each computer in the lan ? any help Please ... Thanks in advance Cheers Jijo:)
-