G
Guest
I built two programs, one is a server and the other one is the client, I want
those two programs to work on the same machine and to exchange information
through the internet.
IPAddress ipAddress = IPAddress.Parse(my IP);
IPEndPoint localEndPoint = new IPEndPoint(ipAddress, port);
I use this same code in the both programs except for the port number which
is diferent.
But there seems to be no connection.
Maybe I use the wrong Ip number, coz I don't know how to get my ip, in my
interent connections status I see two ips: Client and Server (I use ADSL)
What can be the problem?
those two programs to work on the same machine and to exchange information
through the internet.
IPAddress ipAddress = IPAddress.Parse(my IP);
IPEndPoint localEndPoint = new IPEndPoint(ipAddress, port);
I use this same code in the both programs except for the port number which
is diferent.
But there seems to be no connection.
Maybe I use the wrong Ip number, coz I don't know how to get my ip, in my
interent connections status I see two ips: Client and Server (I use ADSL)
What can be the problem?