Solved

send message on local network

Posted on 2002-05-01
4
419 Views
Last Modified: 2010-04-04
Hi... I have 5 computers connected on a local network and Would like to send a message to all computers connected on my local network or send to selected computers.
All computers will have the program installed on.

Does anyone can send me an example of how I can do that?

Thanks, Alexandre
0
Comment
Question by:alsantos
4 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 6985249
hi,
for win9* you can the mailslot components to send popup messages as winpop does here is url and they come with a demo:

http://home8.inet.tele.dk/tserikse/delphi/mailslot.zip 


for an nt example you can use the nt messenger service :
http://www.jgsoftware.com/files/mes.zip
about:
"Application for sending messages through the network, using NT Messenger Service."


or alternatively you could use the ics or indy components.
ics:
http://overbyte.alexid.fr/frame_index.html
indy:
http://www.nevrona.com/Indy/
they both have many client / server demos etc..
0
 
LVL 4

Expert Comment

by:jsweby
ID: 6985823
Definitely Mailslots. I've literally just finished writing a header file for Mailslots and little client and server apps that can talk to each other across the network using the mailslot, without the need for a component.

J.
0
 
LVL 4

Expert Comment

by:nestorua
ID: 6986312
HI,
You could use "net send" for your purpose.
F.e. if the computer to receive has the IP "192.168.1.234"
then the message must look like:
"net send 192.168.1.234 HI!"
If its name is "FirstOne"
then the message must look like:
"net send FirstOne HI!"
All the messages are sent from NT and could be received
on both NT and 9x.
To send the messages from 9x you can use winpopup
(as it's already said above).
Sincerely,
Nestorua.
0
 
LVL 2

Author Comment

by:alsantos
ID: 6988885
Thanks Inthe, this demo works fine. But, you know if its possible send an message if I only know the netbios name of the other machine?

Thanks, Alexandre
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Communication Between RC4 Delphi <-> PHP 3 101
how to center only a line in richedit? 4 52
URL for downloading Google Chrome for Win XP 2 126
update joined tables 2 32
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now