Im making a simple chat server for quite some time now and Im constantly having some easy problems I cant comprehend.
client = new TcpClient();
"A connection attempt failed because the connected party did not properly respond after a period of time, <br/>
or established connection failed because connected host has failed to respond 126.96.36.199:15555"
Im connecting to myself over the internet I suppose but it wont work.
The thing is, Im not listening to this IP. Im listening to my LAN IP because Im connected to the internet through LAN so I cant listen to my global IP
because it throws an exception that the IP is not valid.
I suppose the real question is am I doing this right, and if not, what should i do?
View Complete Post