Lisa Collins
Lisa Collins

Reputation: 111

tutorial on windows service and client?

I am trying to create an application that can run as a service and another program to communicate with it (client)

i can find plenty of sample code about services but nothing about programs that interact with services

can someone please link some examples?

Upvotes: 0

Views: 93

Answers (1)

spartacus
spartacus

Reputation: 613

Sounds like you could and maybe should use TCP sockets. Or at least that would be the easiest and most straight forward.

Alternatively since it sounds like both client and service are on the same computer you could use some form of IPC (interprocess communication). So depending on your OS you may decide to use IPC instead.

Upvotes: 1

Related Questions