So I’m doing development work on Windows, and I’d like to do some communication between two processes running on the same machine (but not in the same user session, potentially). Seems to me there are about 4 different ways I can do that:
-a named pipe
What I really want is a client-server model, where one running program can say “OK, I’m listening here on a named-or-numbered channel of some sort” and other programs can connect and disconnect, and while they’re connected, they can pass streams of bytes back and forth".
None of those methods seem dauntingly difficult, but I feel like setting up a nice robust module is going to involve a bunch of work to get all the corner cases and synchronization and so forth working properly, and this seems like a problem that someone else must have already solved.
So… is the a library or package I can find somewhere that does all the dirty work and presents a nice clean usable API?