1
Reply

Socket programming in C#

Tanmoy Majumder

Tanmoy Majumder

Oct 12 2008 7:16 AM
3.5k

Hi everybody, I am Tanmoy. I just wanna create a simple server-client chat application in C#. I have downloaded the source code from the link below:
  http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c7695

If the server & client both in same PC everything is OK.
But if the client application tries to establish a connection to a the server application on a remote PC it fails to do so.

A messagebox show the following message:

A connection attemp failed because the connected party did not properly respond after a period of time or established connection failed because connected host has failed to respond 172.16.10.40:8000

what can I do? Please help me.


Answers (1)