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