Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Two clients, one server
| Subject: | Two clients, one server |
| Posted by: | "Larry" (lkill..@charter.net) |
| Date: | Sat, 9 Dec 2006 09:40:41 |
I have hit a little snag.
My main app runs and stays connected to the server, 24/7. I am connected
using a TidTCPClient. Since what I am connecting to is not really a
TCPserver but actually a server riding on top of a Comm port, (rs-232) I can
only have one connection to the server.
Right before the beginning of a new shift, I want to run a small worker app
to initialize certain settings on the devise I am connected to via the
rs-232 / TCPserver. I cannot connect it I connected with the main app. Can
I send a message from the worker app to the main app and direct it to close
the connection and at the end of my setup, direct it to reconnect? Both
apps will run on the same machine under Windows XP Pro SP-2.
I haven't much experience in messaging though I have used named pipes
extensively. If possible, can someone get me started?
Thanks
Larry