What is the best way to send events to all workstations

I hope someone can guide me because I'm stuck ... I need to write an emergency broadcast system that notifies workstations of an emergency and pulls out a small message at the bottom of the user’s screen. It seems simple enough, but there are about 4,000 workstations on several subnets. The system should be practically real-time, easily and easily deployed as a Windows service.

The problem started when I found that the routers are not forwarding UDP xxx255 UDP packets. Later I did a simple test quest in VB6 to catch network messages, but even those who failed routers. I also wrote a simple packet sniffer to filter packets just to find that network packets never reached their intended destination.

Then I took a look and examined using MSMQ via HTTP, but for this I needed to install IIS on the target workstation. Since there are so many workstations, this will be a serious security issue.

I have now finished the web service with an asynchronous callback that sends an event to subscribers. It works fine on a small scale, but as soon as there are more than 15 subscribers, performance degrades significantly. Polling the server is actually not an option due to the load it will generate on the server (plus I also tried)

I need your help to guide me on which technology to use. Has anyone used a comet with so many clients or should I look at WCF?

I am using Visual C # 2005. Please help me in this predicament.

thanks

+5
source share
5 answers

WCF-. Juval Lowy.

- -. GMail chat. , . , NAT . .

+3

, Multicast .

( ) .

, , : , . , , , , .

+3

, , .

.

0

, , ?

, , .

0

, . Windows , ! Messenger. , , , .

( , , - Windows).

, - :

NET SEND computername "This is a test message"

NET SEND Windows , , , Windows. , . (, "Alerter", , ).

API, NetMessageBufferSend(), . P/Invoke.net API, , API, #!

You do not need to write client-side code at all. Probably the most attractive thing will be to determine the best set of calls to this API that will get full network coverage in your configuration.

ETA: I just noticed that the Messenger service and this API completely disappeared in Windows Vista. It is very strange for Microsoft to completely remove such features. It appears that this vendor has a compatible replacement for Vista.

0
source

All Articles