?
Solved

Send Notification

Posted on 2006-10-19
5
Medium Priority
?
303 Views
Last Modified: 2010-03-31
Hi everyone,

To start with my question, how am I going to send a notification message to other computer inside my LAN? for example, I click a button in my app, then it sends a notification message box to the recipient's desktop that the button has been clicked.

A sample source code would be much appreciated.

Thank you very much in advance
0
Comment
Question by:pentacost
[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
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 336 total points
ID: 17771780
0
 
LVL 14

Assisted Solution

by:hoomanv
hoomanv earned 332 total points
ID: 17771875
Read this book: O'Reilly, Java Network Programming, Third Edition
0
 
LVL 4

Assisted Solution

by:astorer
astorer earned 332 total points
ID: 17795099
This isn't something you would usually do.  For a start it needs your 2 computers to know about each other, it needs them both to be available and it needs them both to not have firewalls installed.

A more common approach is to use a similar model to Instant Messaging software.  You have a server that is waiting for messages and everyone sends and gets messages from that server.

PC1 sends message to server addressed to PC2
server receives that message and stores it
PC2 asks server "any messages for me?"
server passes the message to PC2

That means that all of your PCs only need to know 1 address - that of your server.  There is no point to point comms.

Depending on the detailed requirements on the nature of those messages, there may well be software out there already dto do what you want.
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 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