Send netowrk messgae between users

  • Thread starter Thread starter Gidi
  • Start date Start date
G

Gidi

Hi,

I've a windows application with few users (each user works with his own pc
and on each pc i've my application insalled). when a user finishes committing
any action he gets a messageBox saying "Action Succeeded\Faild", I want that
on some action all users will get this pop-up (meaning, if user A committed
an Action, also user B and C will get this messageBox). How can it be done?

Thanks,
Gidi.
 
Gidi,

This is actually more complex than it might indicate it is.

First, you need to know where your other applications are running. In
order to do that, you need to have a sever which applications are
registering themselves with, or have some sort of peer-to-peer network which
discovers other applications running on the network.

Either way, you can use Windows Communications Foundation (in .NET 3.0)
for this.

Once you have that, you can simply send whatever message you want to
each of the clients (through the server, or peer-to-peer) and have the
clients react to the message by popping it up on their screen.
 
I believe UDP broadcast/multicast can do it. All instances of the
application listens for UDP messages on a known port, and the sending
instance send the message to the broadcast/multicast address on the same
port.

Boaz Ben-Porat
Milestone Systems A/S
Denmark
 
I believe UDP broadcast/multicast can do it. All instances of the
application listens for UDP messages on a known port, and the sending
instance send the message to the broadcast/multicast address on the same
port.

Boaz Ben-Porat
Milestone Systems A/S
Denmark

"Gidi" <[email protected]> skrev i en meddelelse





- Show quoted text -

Nope, that will only work on the same vlan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top