Can you be elaborate on who is the Client and Server? From Your earlier post, I assume - Your Friend's computer is the client and your computer as the Server.
abalfazl hossein wrote:The story is, I ran this program on his computer, for first time, His computer be as server and client,as time that I ran on my computer, On my computer it works, But on his computer it throws that exception.
Please be specific on these facts- Are both Client and Server running on same machine- Your or your friends? or both running on different machines? In which case- who is the server and client. To connect to a computer you need to know a way to communicate with it- Knowing its Public IP address and the port on which the application is running.
A "connection reset" means that the network plumbing went down; and it is a notice from the system. It could be caused by anything. The network can be configured to timeout the connection (on either side). The other side could have closed the connection. Or there could even be some sort of firewall running, that prevents the connection (even on the same machine).
IOW, the only way to debug it, is to probably load up a network sniffer to hunt it down.
Well, your clients need to use some sort of IP address and port to make contact with your server. If your server is in a LAN, it has a local IP address which is not visible to your clients. What you need to do is configure your router (which has an IP address that *is* visible to your clients) to forward any packets it receives on a specific port to your server.
The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Joined: Sep 06, 2007
Thanks, But MSN messenger, Or Yahoo messenger doesn't manipulate the router.