problem unregistering channel

From: Phl (killkennyhouse_at_hotmail.com)
Date: 08/16/04


Date: 16 Aug 2004 09:19:24 -0700

hi

In my cleint, I registered channel this way:
TcpChannel chan = new TcpChannel();
ChannelServices.RegisterChannel(chan);

when i run my program again it complains that the channel has been
registerd and bombs. So I do the following

ChannelServices.UnregisterChannel(chan);

It then complains that it can't find this chan. So I think that it's
just trying to unregister a newly generated channel.

How do find the existing registered channel, so I can unregister the
existing channel?

thx



Relevant Pages

  • [NEWS] Some IRC Servers Auto-DeOP Users Too Slowly
    ... and as a result the person who enters the channel has operator ... If nobody is in the channel, the channel modes seem to be resetted, ... with the ChanServ commands. ... enter the empty but registered channel in which you want to set the topic ...
    (Securiteam)
  • Re: problem unregistering channel
    ... You shouldn't need to unregister your channel unless you want to stop using ... it before your program terminates. ... > How do find the existing registered channel, ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: how to know information of a remote object, that ist reqistered.
    ... Cast every registered channel to IChannelData. ... Get the channel data uri's, they have the form http://hostname:port or ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Yet another "channel tcp is already registered" issue
    ... You have to verify to only register the channel only once. ... so another frequent cause of this error is registering more ... >> TcpChannel chan = new TcpChannel; ... >> Calculator calc = new Calculator; ...
    (microsoft.public.dotnet.framework.remoting)