Concept Clarification : Registering Client on Different Port

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Phil Jones (phil_newsgroup_at_hotmail.com)
Date: 08/08/04


Date: Sun, 8 Aug 2004 16:01:48 +1200

After doing battle with remoting events, and working through Sunny's "Event
Wrapper" sample I pretty much found the thing which was causing me grief.

That is - the server's channel is registered on one port, and the client
registers a channel on a different port. If this doesn't happen I get one
of these errors:

<<This remoting proxy has no channel sink which means either the server has
no registered server channels that are listening, or this application has no
suitable client channel to talk to the server.>>

I don't understand this. Why don't they use the same port? If the channel
has some other port, how does it know to talk to the server (I suppose
becuase the remote proxy object it's working with contains the actual server
port details from it's creation).

Anyhow, is this just something ya supposed to know - or is there a deeper
concept I should be grasping.

Cheers everyone!
===
Phil
(Auckland | Aotearoa)



Relevant Pages

  • Re: Setting exclusiveAddressUse = false
    ... We have encapsulated an older STA active x control inside a console ... server endpoint at port. ... We need these individual app domains to communicate on the same port as the ... setting the channel property= false should allow this ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Early morning (for me) chat?
    ... or on an IRC client: ... Server: irc.penguinpowered.ca ... Port 6667 ... channel ID: #rec.pets.cats.anecdotes ...
    (rec.pets.cats.anecdotes)
  • Re: Early morning (for me) chat?
    ... or on an IRC client: ... Server: irc.penguinpowered.ca ... Port 6667 ... channel ID: #rec.pets.cats.anecdotes ...
    (rec.pets.cats.anecdotes)
  • Re: Calling delegate on client raises a RemotingException
    ... This remoting proxy has no ... > channel sink which means either the server has no registered server ... > client channel to talk to the server. ... what port number are you using when you register the TcpChannel? ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Concept Clarification : Registering Client on Different Port
    ... > After doing battle with remoting events, ... > registers a channel on a different port. ... > no registered server channels that are listening, ...
    (microsoft.public.dotnet.framework.remoting)