title: Simple and quick to implement socket server in C#
body: <p>I have a C# command line app (the server), that is executed by another app (the client). It simply does a command and shuts down. I'm trying to convert this "run and shut" method to a "constantly running" windows forms. I'll use sockets as a way for the client app to  talk to the server in C#. My client app can talk in sockets, but I need a quick and simple way to integrate socket server functionality in C#.</p>
  
  <p>I've tried to work with the following, but they all seem overly complex to integrate. Do you have any idea how to use these effectively, or any simple socket server component in C#?</p>
  
  <p>These seem quite robust, but complex:</p>
  
  <ul>
  <li><p><a href="http://www.codeproject.com/KB/IP/AsyncSocketServerandClien.aspx" rel="nofollow">http://www.codeproject.com/KB/IP/AsyncSocketServerandClien.aspx</a></p></li>
  <li><p><a href="http://www.codeproject.com/KB/IP/TCPIPChat.aspx?q=.net+socket+server" rel="nofollow">http://www.codeproject.com/KB/IP/TCPIPChat.aspx?q=.net+socket+server</a></p></li>
  <li><p><a href="http://www.codeproject.com/KB/IP/socketsByBobJanova.aspx" rel="nofollow">http://www.codeproject.com/KB/IP/socketsByBobJanova.aspx</a></p></li>
  </ul>
  
  <p>These seem quite promising (no idea how limited/functional they are):</p>
  
  <ul>
  <li><p><a href="http://www.codeproject.com/KB/IP/xynetsocket.aspx" rel="nofollow">http://www.codeproject.com/KB/IP/xynetsocket.aspx</a></p></li>
  <li><p><a href="http://www.codeproject.com/KB/IP/SocketControl.aspx" rel="nofollow">http://www.codeproject.com/KB/IP/SocketControl.aspx</a></p></li>
  </ul>