Re: An alternative to events?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Sunny (sunnyask_at_icebergwireless.com)
Date: 06/29/04


Date: Tue, 29 Jun 2004 09:16:54 -0500

Hi,

the idea is to rethink your solution and see if you can avoid events. If
you can not, the ok, go with it. In your situation you have 2 options:

1. events - this is easiest and natural way. Just be sure to implement
some kind of your own broadcasting machine, because you can have
problems with native events support if some of the clients fails. Then
all other clients will not receive the event as well. You cant read this
article for ideas:
http://www.genuinechannels.com/Content.aspx?id=27&type=1

2. Create a separate thread at the client and at regular intervals pull
from the server the new state. If you change the state of the server
really often, then this will not create a big overload. But this is
unreasonable if you lets say change server state every 1/2 hour, but
pull for new state every 30 secs.

Sunny

In article <8f1b5e2a.0406290535.cef1bc6@posting.google.com>,
le_khan@yahoo.fr says...
> Hi NG
>
> In one of his numerous articles, Ingo Rammer advise the .net remoting
> developpers not to use events for networked application.
> I'm a newbie in programming and actually, I do use events in my .net
> remoting application...since I haven't yet found other ways to do what
> I want.
>
> Here is the actual scenario :
> When changes are made on the remote object (Singleton SAO) by a
> client, this client send a notification event to the server
> So that the server will make some computations and notify all the
> clients of the changes by events
> The clients will thus refresh the display
>
> How could I implement this without using events?
>
> thank you
> k
>



Relevant Pages

  • RE: Users Cant Access Documents on Server
    ... Thanks for using the SBS newsgroup. ... As well as we know, if a workstation would not access network shares, then ... Leave the Default Gateway of the internal NIC blank of the server box. ... Clients That Require SMB Signing ...
    (microsoft.public.windows.server.sbs)
  • Re: Users Cant Access Documents on Server
    ... my computer to the network on the server. ... Connection Wizard none of the computers were listed. ... The Mac clients can not communicate with the server box. ... > Error Messages When You Open or Copy Network Files on Windows XP SP1 ...
    (microsoft.public.windows.server.sbs)
  • Re: [SLE] SMTP authentication
    ... So eventhough my local SMTP server dials up to the internet with a certain username and password, that same username and password would not be used as authentication between my local SMTP server and the ISP's one, should it be used as a relay? ... either defer all outgoing mails until you connect to the internet, then flush out all the mails in the queue. ... Your local server would use an external program like fetchmail to poll the mailserver of your ISP, download the mails and feed them to Postfix. ... The test does NOT say "All clients must be in mynetworks, ...
    (SuSE)
  • RE: VPN Clients Not Registering in AD DNS
    ... via VPN, the DNS records of the VPN clients are unable to be registered. ... Windows 2003 server? ... please let me know whether the clients get the IP ...
    (microsoft.public.windows.server.sbs)
  • Re: Users Cant Access Documents on Server
    ... > then add my computer to the network on the server. ... Did you not see the computers in the Server Management taskpad section? ... The Mac clients can not communicate with the server box. ... >> Error Messages When You Open or Copy Network Files on Windows XP SP1 ...
    (microsoft.public.windows.server.sbs)