How to send messages over ethernet?

I have a number of DOS PC's on an ethernet network talking to an NT server.  The software on the DOS PC's is developed in Clipper 5.2.  How do I send messages from my DOS PC to the NT Server and vice-versa?  I don't want to write to the Server HDD as the DOS PC would have to be constantly reading across the network to check for messages.
LVL 13
akbAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mikecrCommented:
If you have the Microsoft client loaded on the Dos machines to have them connect you should be able to use the Net Send command. Type Net Send /? and it will give you the parameters of the command.

Mike
0
akbAuthor Commented:
Thank you for your comment, mikecr.   My need is for the application software to send messages, not the user.  The messages are for the software on the PC's to interpret, not for the user to read.
0
mikecrCommented:
Sorry, my mistake.
0
MSSPs - Are you paying too much?

WEBINAR: Managed security service providers often deploy & manage products from a variety of solution vendors. But is this really the best approach when it comes to saving time AND money? Join us on Aug. 15th to learn how you can improve your total cost of ownership today!

patrickpeetersCommented:
I found a program called NetMail which is free and downloadable from cnet.
The location is :
www.geocities.com/siliconvalley/lakes/2382/nmdos212.zip
if this doesn't work go to www.cnet.com
go to downloads PC internet email Netmail
0
akbAuthor Commented:
Thank you patrickpeeters for you reply.  I don't want to send emails, I want to be able to send messages between programs running on two different machines.  I don't want the messages going to the hard disk.  The messages aren't to be viewed by humans.  The messages are to give the program on the other computer instructions to perform certain tasks.  The other computer must respond to these instructions immediately.
0
patrickpeetersCommented:
Did you already tried to use the Windows NT and DOS command :
 NET SEND <computer to where the message must go> <Message text>

This is a dos command so normally it should run. I didn't test it yet.
0
akbAuthor Commented:
Yes I have tried that.  I don't want to send text messages!
The messages are for the software on the PC's to interpret, not for the user to read.
0
mitrakisCommented:
I'd suggest to use TCP/IP sockets to communicate with your software on NT<->DOS machine.

You'll have to implement socket listeners in both apps, so each app will wait for a message of the other.
The incoming message will be translated by your listener (you have to define a kind of a function table) and do it's job.

I wrote a remote control for Sony cameras to control them over internet.
The server app listens on socket 6543. If the client sends "moveleft" my server will translate this command internally to the appropriate hex command which then will be sent to the camera over RS232-C.

Since socket programming is a standard, it should be possible under Clipper, too (maybe syntax differs...but sure it's possible).

Assuming you have programming knowledge (at least in Clipper), I'd suggest to have a look at the following site; just to understand how sockets communicate (sample is in Java):
http://members.tripod.com/~palathuruthil/javclsocket.htm

Sockets are the most simple thing to establish bidirectional communication based on the TCP/IP protocol.
You've mentioned NT, so all you need is to install the TCP/IP package on your DOS machine (if it's not already present).

Best regards
-Stavi-
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
akbAuthor Commented:
Thanks mitrakis.  Sounds like I'm getting closer, but I really do need specifics on how to get my clipper program working with sockets.  Any help would be greatly appreciated.  I've plenty more points for a good answer.
0
mitrakisCommented:
Unfortunately, I've never worked with Clipper, so I won't be that helpful in solving this with Clipper.

To be honest, in my opinion this answer covered the Q...in case you need detailed help in coding the sockets under Clipper you may ask this with a new Q in the programming area.

Anyway, it's on you to grade this answer or to reject it.

Best regards
-Stavi-
0
mitrakisCommented:
I found the following page which has a link to Winsock in relation with Clipper.
It may be helpful; check it out.

http://www.underflap.com/clipper/
0
akbAuthor Commented:
mitrakis,
I'll gladly award you the points.  Thanks for your help.  I'll repost question about Clipper elsewhere.
0
mitrakisCommented:
Thanks a lot akb.

Have a nice day
-Stavi-
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware

From novice to tech pro — start learning today.