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#.
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#?
These seem quite robust, but complex:
http://www.codeproject.com/KB/IP/AsyncSocketServerandClien.aspx
http://www.codeproject.com/KB/IP/TCPIPChat.aspx?q=.net+socket+server
These seem quite promising (no idea how limited/functional they are):