How possible?

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



How is it possible for the following client code to cause an "The channel
tcp is already registered" error? I thought the value of 0 tells it to pick
an unused (i.e. available) port? I have confirmed that it is only being
caused once.
Dim channel As System.Runtime.Remoting.Channels.Tcp.TcpChannel

channel = New System.Runtime.Remoting.Channels.Tcp.TcpChannel(0)

System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(channel)


.



Relevant Pages

  • Re: .Net Remoting TCP or HTTP?
    ... John's given a good description of why you would pick either the TCP or HTTP ... The reason is that, when the server needs to notify the client of the event, ... In the TCP case, this means using a bi-directional channel, so that requests ...
    (microsoft.public.dotnet.framework)
  • Re: .Net Remoting TCP or HTTP?
    ... John's given a good description of why you would pick either the TCP or HTTP ... The reason is that, when the server needs to notify the client of the event, ... In the TCP case, this means using a bi-directional channel, so that requests ...
    (microsoft.public.dotnet.framework.remoting)
  • RE: Remoting Configuration Issue
    ... The channel "tcp" is already registered. ... the service is going to be a client itself (it ... > configData). ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Question regarding how to handle UDP traffic
    ... Have you considered using TCP as the control channel (making requests, ... etc) and UDP as the data channel? ... You said securing TCP ... Using TCP to exchange keys to be used on UDP ...
    (sci.crypt)
  • Re: .Net Remoting TCP or HTTP?
    ... In terms of using TCP directly or HTTP, ... use the TCP channel with a binary formatter. ... around the remoting newsgroups. ...
    (microsoft.public.dotnet.framework.remoting)