On 16-Mar-2010 Zero Hero wrote: > How does one make IKC connect and reconnect after a remote session > goes away? I'm new, and am using the IKC client convenience class. > > When I hook the client with IKC 'monitor', I can see that terminating > the server produces "unregister" for each of the kernel aliases. > Am I supposed to do something in this hook? Or is there a simpler > "auto-reconnect" option?
You look for the "master" unregister, not a kernel alias unregister. Wait a suitable time, then reconnect. Also, you must do the reconnect when a connection attempt fails. Unfortunately, there is no easier way. One reason is that keeping a request until the connection is reessablished is a hard problem. -Philip