Click here to Skip to main content
Rate this: bad
good
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
good
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.
  Permalink  
Rate this: bad
good
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!
  Permalink  

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

  Print Answers RSS
0 Maciej Los 655
1 OriginalGriff 453
2 CPallini 239
3 CHill60 180
4 Peter Leow 175
0 OriginalGriff 6,092
1 Sergey Alexandrovich Kryukov 4,898
2 Maciej Los 3,159
3 Peter Leow 3,129
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2014
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