Click here to Skip to main content
11,584,443 members (64,249 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#
Hi, what i require is an application which can broadcast messasge to all the clients within local area network which are running the same application. It would be simple if I have server where every client can post a message and client application can have timer but I don't want to involve server.
Posted 7-Nov-12 8:07am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It's almost always a better idea to let a client pull information rather than trying to push information to a client. If you already have the infrastructure for a client to post a message to the server and for all the clients to pull it down, just stick with that. The model is much cleaner and less problematic.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

What you are talking about is a messaging application where a server application places messages into a queue and the clients listen on that queue and process the messages as they are received. A truly nasty environment to work with. Look into MSMQ and there are a number of other messaging systems.

I'm not sure if the technology is still current so you will need to do some research!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 430
1 Sergey Alexandrovich Kryukov 369
2 Dave Kreskowiak 260
3 Richard Deeming 220
4 virusstorm 194
0 OriginalGriff 1,663
1 Sergey Alexandrovich Kryukov 1,229
2 Abhinav S 701
3 Dave Kreskowiak 667
4 Suvendu Shekhar Giri 568

Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100