I want the thing to not throw the exception. I only find out the TCP/IP error because MQ puts it into the event log.
So if it doesn't throw an exception when the network fails under it what's it sup ...
As Winsock Error 10054 is Connection reset by peer as Vitor suggests, you're probably picking up the underlying error below the WMQ one. Also I echo my master's view of getting off back-level, and soo ...
This code doesn't capture the actual reason code, but simply uses a -1. The actual code is more likely as I indicated.
I once had a version that checked inside the exception handler and it reported R ...
We have to install our MQ app in client locations and so we don't have complete control of the network. Frequently our app crashes (invalid memory access) when an idle MQ connection is used. MQ puts a ...