We use the DcmTk to receive images from modalities. The call used is
Code: Select all
ASC_receiveAssociation( network, &assoc, m_maxReceivePDULength, NULL, NULL, OFFalse, DUL_NOBLOCK, 1);
Sometimes it occurs, that the socket is no longer responding to connections at all. We found out that the socket state in that failure case is SYN_RCVD, which means that the socket is "half-open".
Did you ever exoerience this problem? Is there any chance to "watch-dog" the problem and restart the listener when this problem occurs?