CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Posts
    11

    Communicating with a program over LAN

    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

  2. #2
    Join Date
    May 2009
    Posts
    11

    Re: Communicating with a program over LAN

    Just came across this, works wonders

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

  3. #3
    Join Date
    Jul 2006
    Posts
    297

    Re: Communicating with a program over LAN

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured