Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tcplistener / tcpclient 1

Status
Not open for further replies.

murrayja

Programmer
May 6, 2000
90
US
I can't get them to work on a windows local area network.
I cant ping each machine from the other machine but my listener never gets a message.

TcpListener listener = null;
try {
listener = new TcpListener(IPAddress.Any, port);
listener.Start();
}
catch (SocketException se) ....

client = listener.AcceptTcpClient();

Is there something about LANs I need to know?

 
May need a bit more info on this. First when you say
"I cant ping each machine"
do you mean, you can ping each machine?

Age is a consequence of experience
 
Can Ping.
It seems to be a problem only with a laptop that I have on a wireless connection. Another machine, on a hard-wired connection works ok.
To hell with it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top