Good day..

Please do help on how to make a communication over LAN in C#..
Will you please give me some ideas on how to communicate the 2 computers if 1 act as a server and other as client.. What Ports do i used... Then im trying to acces for input and output in the 2 PCs.

Thnks... to all who reply and view my thread..

Hi,

You can use TcpClient and TcpListener classes from System.Net.Sockets name space to use standart TCP communication. If you are implementing a protocol of your own use any port you like between 10000 and 65535.

Loren Soth

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.