I need to write a tool that will distribute a text message to client PCs across the WAN.

Net Send (besides being unreliable) isn't pretty enough for the IT managers, so I have written up a client GUI app to display the message with color and logos.


I have also written an admin GUI that will allow the msg to be entered and to select via listview all the networks to receive the broadcast.


My problem is making the two apps communicate.
I have spawned a number of cmd processes to manage the ping process for looking for live IPs (about 20 class c networks)
 Code:
for each $subnet in $arrSubnets
run 'cmd /c wkix32.exe "'+@scriptdir+'"\pushmsg.kix $s=$subnet $m="$msg"'
next 


I considered just doing a file copy to a hidden/root share that the client will monitor, but that seems cumbersome... even a small ini file copied across to 1500 PCs will take a bit of time, even if I have 20 processes managing it.

I thought about using sockets in KF.NET, but I can't find any details on if sockets is even implemented in KF.NET, just in KF... and if it was old or ignored, as most posts about it are seveal years old.

Basically I need to send a few sentances... say 256 characters at most, with no logging or receipt needed as long as it is semi reliable.

It has to work to and from both XP and Vista and the message might be sent by staff without admin rights.

Suggestions?


Edited by Radimus (2007-10-01 10:04 PM)
_________________________
How to ask questions the smart way <-----------> Before you ask