473,406 Members | 2,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Network-wide messaging system?

I am looking for a networkwide messaging system to announce server
reboots, etc. To implement various custom features, I would much rather
roll my own than use an out-of-the-box type of app. Because my company
has a very strict, industry regulated archival policy, I would like to
avoid using email (which relies on the user having Outlook up and
running anyway, not always a safe bet.)

Using VB.NET 2.0, I've written an app that uses MSMQ to send text on a
message queue and a service that monitors the queue and displays the
message as a balloon tip from the tray. This works great, as the balloon
tips are always on top and do not take focus away from what the user is
doing at the moment. The only problem is that queues seem to be a
one-to-one transmittal. If I have three or four machines monitoring the
queue, the first one to grab the message will display it while the other
machines remain silent.

1) Is there a way to configure message queues to send one-to-all?

2) Is there a different mechanism for making system-wide announcements
than queues, and if so, could someone point me to a .NET code example?
(I can translate from C# if I need to.)

Thanks for the help.
--
Gregory Gadow
Nov 22 '05 #1
1 1555
You are correct that message queues are one-to one. If you wanted to
deliver to multiple workstations, you would need to deliver multiple
messages and you would need to know the machines that would be
receiving.

Since you have to track the subscribing machines anyway, I would
approach this as two applications, server and client, if you will.

The server has three exposed methods:
RegisterClient
UnRegisterClient
BroadcastMessage

The client has two exposed methods:
ReceiveMessage
Heartbeat

When the client starts, it tries to attach to the server and call the
RegisterClient method. When it shuts down, it calls the
UnRegisterClient method. An option within the client application,
possibly protected, allows the submission of a message to all other
registered clients, in which case the client sends the message to the
BroadcastMessage method.

When the server starts, it tries to attach to each of the clients it has
recorded in its last clients list (can be a database, XML, or text file)
and call its Heartbeat method. If it does not get a response, it is
removed from the list. When it recieves a call on its RegisterClient,
it adds the computer name to the client list if not there already. If
it recieves a call on the UnregisterClient method it removes the
computer. If it receives a message on the BroadcastMessage method, it
runs through its list of computers and calls each client's
ReceiveMessage method. On a timer, the server runs through the list and
calls each client's Heartbeat method and if there is no response, the
client is removed from the list.

These types of client/server communications should be pretty easy with
indigo (WCF).

This is just a general idea and probably has some flaws, but it will
support the immediate delvery of messages from a single source to
multiple and varying clients.

hope this helps.

Gregory Gadow <te******@serv.net> wrote in
news:43***************@serv.net:
I am looking for a networkwide messaging system to announce server
reboots, etc. To implement various custom features, I would much
rather roll my own than use an out-of-the-box type of app. Because my
company has a very strict, industry regulated archival policy, I would
like to avoid using email (which relies on the user having Outlook up
and running anyway, not always a safe bet.)

Using VB.NET 2.0, I've written an app that uses MSMQ to send text on a
message queue and a service that monitors the queue and displays the
message as a balloon tip from the tray. This works great, as the
balloon tips are always on top and do not take focus away from what
the user is doing at the moment. The only problem is that queues seem
to be a one-to-one transmittal. If I have three or four machines
monitoring the queue, the first one to grab the message will display
it while the other machines remain silent.

1) Is there a way to configure message queues to send one-to-all?

2) Is there a different mechanism for making system-wide announcements
than queues, and if so, could someone point me to a .NET code example?
(I can translate from C# if I need to.)

Thanks for the help.
--
Gregory Gadow


Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: kevin.hall | last post by:
I've got a problem where I have to identify differences in network. The network may have different types of nodes and may only have a string of ring-like topology: Code: A--B--C--D--E or
14
by: David W. Fenton | last post by:
I'm no stranger to this error message, but I have a client who is experiencing it, but, fortunately, without any actual data corruption, and it's driving them made. Their inability to grasp that...
2
by: Jesse Engle | last post by:
i'm learning how to do some basic low-level network programming. the site i'm reading talks about "network byte order" and "host byte order". the thing is, it doesn't give an explanation as to what...
8
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve,...
1
by: Naveen Mukkelli | last post by:
Hi, I've got 3 Network Interface Cards(NIC) in my PC. Lets say NIC1, NIC2, NIC3. I have openend network connections in control panel and renamed them to Network 1, Network 2, Network 3. I'm...
4
by: Dixie | last post by:
I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
8
by: BJ | last post by:
Problem: How can I code up a client side process to detect if the network is available? Synopsis: I am writing ASP.NET input forms for a Panasonic Tuff book. The users will be walking around...
2
by: Salad | last post by:
If I work on my app on my standalone, things are always fast. If I have an non-split app on the network it runs fast. If I split the app and have both the front end and backend on the network...
10
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.