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. How to dump IPCChannel ?

How to dump IPCChannel ?

Scheduled Pinned Locked Moved C#
helpcsharpdotnetsysadmintutorial
2 Posts 2 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.
  • G Offline
    G Offline
    GDavy
    wrote on last edited by
    #1

    I use an IPCChannel to relay information between 2 apps on the same PC. This all goes well. The problem is when I close the server side application, and then start it again I can not re-establish the IPCChannel untill I close the client app that connected to the previous server side app too.So I guess somewhere the .NET framework still keeps track of that IPCChannel. I tried to run Channelservices.UnRegisterChannel on the server side app before I close it and running an UnRegisterChannel on the client side too, but to no avail. Does anybody know how I might fix this problem? Thanks for any help, Davy

    A 1 Reply Last reply
    0
    • G GDavy

      I use an IPCChannel to relay information between 2 apps on the same PC. This all goes well. The problem is when I close the server side application, and then start it again I can not re-establish the IPCChannel untill I close the client app that connected to the previous server side app too.So I guess somewhere the .NET framework still keeps track of that IPCChannel. I tried to run Channelservices.UnRegisterChannel on the server side app before I close it and running an UnRegisterChannel on the client side too, but to no avail. Does anybody know how I might fix this problem? Thanks for any help, Davy

      A Offline
      A Offline
      Arjun Mjolnir Bahree
      wrote on last edited by
      #2

      Reinitiate the remoting setup request by dynamically performing the steps to register the channel and connect. You need to ping the Server and when it becomes online, reinitiate the remoting framework from the client.

      Excelsior Arjun Bahree "By The Might of Mjolnir" I Came! I Coded! I Conquered!

      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