Click to See Complete Forum and Search --> : Communicating with a program over LAN


dakiato
August 27th, 2009, 07:17 PM
Hello,

I am still rather new to C#, and I want to know how to make a program that can communicate with another program over LAN.

I've viewed a few tutorials about TCP, but its a little confusing. Do I need just the TcpClient? Or a TcpClient, Server, and Listener?

I want it to be just one program that only sends, and one program that only receives, I don't need a link between them both.


Thanks in advance!

-Dakiato

dakiato
August 27th, 2009, 07:32 PM
Just came across this, works wonders :D

http://www.codeproject.com/KB/IP/tcpclientserver.aspx

monalin
August 29th, 2009, 11:20 AM
Not sure if its too late but I'd use WCF technology with this project. Much easier than designing a socket based solution I can assure you of that.