On 3 Jun 2006 05:04:14 -0700, Anthony wrote:
i'm a newbie to .net remoting.
I want to broadcast server event to client using .net remoting.
I tried a few samples but they works only on Same machine or Lan
environment.
- Is there any working sample that works in internet environment?
When you send an event from a .NET Remoting server using the .NET Framework
built-in channels, the server attempts to open a new connection to the
client. If the client is behind a firewall or a NAT router (which is the
case for most PCs these days), the connection will be rejected and the
event will fail. To solve this problem, you need to use a bi-directionnal
channel which will reuse the connection open by the client to the server to
send events back to the client (hence not requiring a new connection to be
open to client). Genuine Channels (<www.genuinechannels.com>) provide such
channels that on top of being bi-directionnal also offer a whole lot of
very useful extra features.