calling a windows service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We want to write a Windows Service that will open a socket connection to a
remote server and keep it open indefinetly. We want to write a .dll that can
talk to this Windows Service and pass it messages to send to the remote
server. Can this be done? If so, can anyone give me link or some code to
call Windows Service from a .Net .dll?
 
It is very much possible. But make sure your windows service runs on a
particular port in order to accept the incoming requests from remote clients.
A general protocol must be implemented so that the remote machine and windows
service can comminicate with each other.
 
Yes, something like POP3 or SMTP service which runs on a specific port that
handles the queries from remote client through predefind protocols.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top