Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 444
  • Last Modified:

send message on local network

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
alsantos
Asked:
alsantos
1 Solution
 
intheCommented:
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
 
jswebyCommented:
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
 
nestoruaCommented:
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
 
alsantosAuthor Commented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now