Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Register more than one tcp or http channel with System.Runtime.Remoting.Channel

Register more than one tcp or http channel with System.Runtime.Remoting.Channel

Scheduled Pinned Locked Moved C#
sysadmindiscussion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AndieDu
    wrote on last edited by
    #1

    Hi All, Is it possible to register more than one channels on server so that server can listen to more than one channels, so far i can only register one either http or tcp channel on the server. below is my code to register 1 tcp or http channe: HttpChannel channel = new HttpChannel(80); ChannelServices.RegisterChannel(channel, false); RemotingConfiguration.RegisterWellKnownServiceType(typeof(ResumeLoader), "ResumeLoader", WellKnownObjectMode.SingleCall); System.Console.WriteLine("Server started, press any key to exit"); System.Console.ReadLine(); Any thoughts and advice will be appreciated. Regards Andie

    A 1 Reply Last reply
    0
    • A AndieDu

      Hi All, Is it possible to register more than one channels on server so that server can listen to more than one channels, so far i can only register one either http or tcp channel on the server. below is my code to register 1 tcp or http channe: HttpChannel channel = new HttpChannel(80); ChannelServices.RegisterChannel(channel, false); RemotingConfiguration.RegisterWellKnownServiceType(typeof(ResumeLoader), "ResumeLoader", WellKnownObjectMode.SingleCall); System.Console.WriteLine("Server started, press any key to exit"); System.Console.ReadLine(); Any thoughts and advice will be appreciated. Regards Andie

      A Offline
      A Offline
      AndieDu
      wrote on last edited by
      #2

      dont worry, guys, i solved myself, and i will write an article later on to walk through the steps that i did to fix the issue. Thanks for those ppl who tried to solve for me

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups