Socket communication not working over LAN
I'm trying to write a program that sends song requests from one computer to another over the LAN. I was able to do it on one computer (open Host and Client on same computer and same IP), but it doesn't work between two computers. I have no clue what is wrong.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Oct 27, 2013, 1:08 AM EDT
The basic idea is,
Server should listen for ANY IP.
IPEndPoint(IPAddress.Any, portNo)
Clients should connect to Server's IP i.e if your Server [Host] is on IP 127.0.0.1 then the Client connection should be like.
IPEndPoint(IPAddress.Parse("your host ip"), hostPortNo);
John McFlurfin14 reputationPosted Oct 27, 2013, 6:43 AM EDT
John McFlurfin14 reputationPosted Oct 29, 2013, 5:30 PM EDT