DCOM Connection Points
Posted on 2002-07-10
I have a DCOM Server that uses connection points to update clients when changes are made at any connected PC. To stop the server freezing when it is attempting to update a client that has vanished from the network I implemented the connection point call in a seperate thread.
This works OK, except now I want to stop sending messages to any client that has stopped responding, because this code is auto-generated by the VC++ wizard I am unsure how to proceed.
Should I re-write the auto-generated functions (Fire...) so that I can interrogate any DCOM errors? Or is there an alternate method for doing this?
Is there a way to disconnect a connection point from within the server if it believes the client has gone away permanently?