Solved

send message on local network

Posted on 2002-05-01
4
422 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

11 Experts available now in Live!

Get 1:1 Help Now