Hello,
I have an application which is a server. Then, a client connects to it through a socket connection. Now, the thing is that I want to make a web front-end for the server, so the web interface will have almost the same functionality as my client application.
I think that the best approach would be to expose API from my server and then use it for communication. For example, the web back-end (which would be located at the same box as the server) uses a dll with all functions and communicates that way instead of opening a socket connection to localhost.
The problem is that I am not really sure how to design it. Like.. how would the dll connect to the server application (exe) and communicate with it. Maybe I am missing something here... however, any suggestion would be much appreciated.
Thank you