|
-
September 9th, 2001, 10:05 AM
#1
Single Instance Server
I have a weather station on my home that sends weather data out a serial port. I would like to create a server object that will monitor the weather station. All this is easy, what I need is to be able to call that server and get the weather data from any application. Specifically the server will run as a windows NT service and continually monitor the data stream. How do I create the server so that when a client wants data it can communicate with the server and get the data. I wanted to use com, but I can't see how to let a client get the data from the server withought the client creating another instace of the server. I can only have one instance of the server that will allways be running. I hope to just expose some properties of the server to be read by the client. Any ideas how to do this? I don't know quite how to make this inter process communication take place. I don't want to use TCP/IP, I would like it easily callable from asp.
Thanks
Craig
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|