Loading ...
Sorry, an error occurred while loading the content.

Re: Is using multiple HttpChannels possible?

Expand Messages
  • makerbot_dave
    Thanks, Charles. I had used the statenameserver example as a starting point, but didn t use the name key, and frankly forgot all about it! I have confirmed
    Message 1 of 5 , Feb 28, 2011
    View Source
    • 0 Attachment
      Thanks, Charles. I had used the statenameserver example as a starting point, but didn't use the "name" key, and frankly forgot all about it!

      I have confirmed that merely adding a different "name" for each HttpChannel did the trick.

      --- In XMLRPCNET@yahoogroups.com, Charles Cook <chascook@...> wrote:
      >
      > On the server side you need to register a channel for each port. Make sure
      > you give the channels different names.
      >
      > See statenameserver example for how to register a channel programmatically.
      >
      > :Charles
      >
      > On Fri, Feb 25, 2011 at 3:57 PM, makerbot_dave <dave@...>wrote:
      >
      > >
      > >
      > > Thank you for the reply, Charles. Can you point me to examples that allow
      > > one HttpChannel to listen on multiple ports, and do it all programmatically
      > > (i.e. not using app.config)?
      > >
      > > Thanks!
      > > Dave
      > >
      > >
      > > --- In XMLRPCNET@yahoogroups.com, Charles Cook <chascook@> wrote:
      > > >
      > > > The client only needs to register one HttpChannel.
      > > >
      > > > :Charles
      > > >
      > > > On Wed, Feb 23, 2011 at 2:25 PM, makerbot_dave <dave@>wrote:
      > >
      > > >
      > > > >
      > > > >
      > > > > My application speaks to two separate servers on my local network. I'd
      > > like
      > > > > to be able to use XML-RPC for both. However, when I try to register two
      > > > > HttpChannels, I get an exception on the second one that basically says
      > > that
      > > > > the channel 'http' has already been registered. Is it only possible to
      > > have
      > > > > one HttpChannel at a time? Will I need to start messing around with
      > > > > AppDomains to get this to work? Thanks!
      > > > >
      > > > >
      > > > >
      > > >
      > > >
      > > > [Non-text portions of this message have been removed]
      > > >
      > >
      > >
      > >
      >
      >
      > [Non-text portions of this message have been removed]
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.