Turn the basic application into a TCP server.