NetReceiveAbort Example for C++ 6.0 or later
void CDicomNetSink::OnNetReceiveAbort (long hNet, short nSource, short nReason)
{
CString strMsg;
strMsg.Format("*** NetReceiveAbort Event ***\nSource[%d]\nReason[%d]", nSource, nReason);
AfxMessageBox(strMsg);
}