I've thought about doing so, as it might ease remote management too; but I'm afraid that it might risk security.
Main Topics
Browse All TopicsI'm writing an NT service using D6 on Win2K.
What is the best way to write a program to communicate with the service and control it?
Any sample code or articles will be very helpfull.
Thanks in advance.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
you should use indy client and indy server.
using multithread,
and creating your own language protocole to communicate between server and client (try to make a dll, tu keep this way for other projects).
like that, you can build a password testing, or any king of security protocol.
But don't forget that a tcp component will give you the data from a buffer, and so you can receive two commands or packets in the same buffer read, so you have to knwo exactly what you read.
Take care about buffer overflow also (read only the data size you need and drop the rest)
Dear expert(s),
A request has been made to close this Q in CS:
http://www.experts-exchang
Without a response in 72 hrs, a moderator will finalize this question by:
- Saving this Q as a PAQ and refunding the points to the questionner
When you agree or disagree, please add a comment here.
Thank you.
modulo
Community Support Moderator
Experts Exchange
Business Accounts
Answer for Membership
by: grg99Posted on 2003-02-19 at 11:03:56ID: 7983036
I've found that TCP/IP is the slickest way to communicate. Just open up a listener on a port and wait for a connection. You can probably use one of the many TCP/IP components.