Re: remote events

From: Allen Anderson (allen_at_sparkysystems.com)
Date: 05/24/04


Date: Mon, 24 May 2004 09:21:41 -0600

I usually don't like to recommend third party solutions but in this
case I think your best bet is probably to go with genuine channels and
use their bi-directional remoting channel. I personally believe
microsoft made a huge mistake not making the built in channels go
bi-directional (but thats just my opinion).

Polling is not a good way to go as you start putting more and more
load on the server as things scale up. And as you said, configuring
the firewall is yet another hassle.

Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com

On Sun, 23 May 2004 14:47:50 +0200, jm <news@pro-martens.de> wrote:

>Hi,
>
>my question is more theoretical.
>If I like to develop let's say a chat server with sockets, all my
>clients can stay connected with the server as long the client runs. If
>there's a new text message for all clients, the server can send this
>message to all the clients over the established tcp/ip connection. In
>this scenario I have only minor problems cofiguring firewalls or routers.
>
>If I develop a remote server, how can I inform my clients that there is
>a new message for them. If the server sends a message from the WAN I
>need to configure the firewalls and routers. Due to the resulting
>security risk I dont like to go this way.
>I can imagine a client that polls every 10 sec. for new messages. But
>this is not the best way.
>Another way could be to invoke a CheckForNewMessage method on the server
>which will be answered by a thread that sleeps until there is realy a
>new message available. But with tis method I get (too) many threads on
>my server.
>
>Now there is my question: Is there a good way to implement this kind of
>application with remoting or should I rather write my application with
>good old sockets.
>
>Thanks a lot
>jmrtns



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: NBG800 Hackers Test.
    ... My clients have no access to there firewalls. ... emailsof my clients firewalls go to our central server. ... >> hackers test or even if I try to simulate a hacker the alarm Email ...
    (comp.security.firewalls)
  • 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)

Loading