Click to See Complete Forum and Search --> : How can i send text over the network


Schardl Robert
April 28th, 1999, 07:42 AM
Hy!

I want to send a simple text over the network.
A client sends a text over the network and a other client in the network receives this text
(like a chat-programm).

How can i do this?

Thanks
Robert Schardl
robert.schardl@soft-support.at

Rob Wainwright
April 28th, 1999, 03:09 PM
There are lots of ways to do this. If you're after a chat like program (i.e. both machines interact simultaneously) you can use Sockets or Named Pipe code.

Dig out the CHATTER and CHATSVR samples on MSDN for a Winsock based Chat solution.

If you're looking for asynchrounous communication, you can't get any easier than a MailSlot API based solution.