Click here to Skip to main content
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 9: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 520
1 Maciej Los 205
2 Suvendu Shekhar Giri 159
3 Peter Leow 140
4 Kornfeld Eliyahu Peter 133
0 Sergey Alexandrovich Kryukov 9,623
1 OriginalGriff 8,895
2 Peter Leow 5,044
3 Kornfeld Eliyahu Peter 3,333
4 Maciej Los 2,561

Advertise | Privacy | Mobile
Web03 | 2.8.150327.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