Solved

send message on local network

Posted on 2002-05-01
4
433 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

729 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