I need a TCP server written in VB.NET 2005 that I can extend with my own functionality. I require two versions - one which works as a Windows application, and the other as a service.
## Deliverables
I need a TCP server developed...
1. I need a TCP server written under VB.NET 2005. The Server is to listen on two ports, PortA and PortB. The data that comes in will all be line-based. Multiple connections are permitted on PortA and PortB.
2. On a new connection on PortA, a string from a configuration file will be sent. Each time a line comes in on this connection, another static string from the configuration file will be returned through the TCP connection. If there are no lines for 10 minutes then that connection will be closed.
3. PortB will be on a different port. On connection a Config file string will be sent, and then the user will have 60 seconds to return a string that is also defined in the Config file. Once the string is returned, every PortA received string is output to that PortB connection.
4. PortB will also need to be able to have commands to list the current PortA connections and the like. Also commands to kill off a connection would be good.
5. There needs to be two versions of the software - one that operates as a GUI, and another that operates as a Service. They are to share as much common code as possible. The service version needs to log pertinent information to the Event Viewer.
6. I need installers for the Service and the GUI.
7. The program will be called MDClistener