Advertisement

Sever CLient questions

Started by February 22, 2005 04:03 AM
1 comment, last by hplus0603 20 years ago
Hi, I started today programmin with C#, and I decide to develop a small Chat Server to understand correctly how does Threads and Sockets work in C#. I finished my simple server and I tested it locally using telnet. It works. The problems araise when I try to run the server on my machine and then ask to a friend on the net to try a connection using telnet: I can't connect to the server ... I give him the correct IP address (I think ... I used a simple PHP script running on the net to take it), but he can't connect. I bind the server socket to localhost. The firewall gives no messages, so I think it doesn't block the comunication. Ca u help me? bye
Post the code that binds the listing socket to the local IP and a port.

Kuphryn
Advertisement
Check the Forum FAQ for the section about NAT.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement