I have a server application that gathers data from many different data sources, and stored them in several local arrays. This data is then used to calculate live statistics for live displays.
I need to extend this server application to allow for custom modules to be written that will use this data for custom applications for our customers (In my specific case right now, I need to make a telnet server that will spit out data in a delimited format)
Since I have to modify the server anyway we would like to make it easier to add extensions like this one in the future.
Finally, My question is: How can I make it so that I can read (read only is fine) the data from an external application or a DLL that I load? I'm sure I'll have to use memory mapped files some how, but how can I accomplish this without having to change the structure of the existing server application too much?