Exemplo n.º 1
0
    	private void SendRawPDU(RawPDU pdu)
        {
            ResetDimseTimeout();

            // If the try/catch is reintroduced here, it must
            // throw an exception, if the exception is just eaten, 
            // you can get into a case where there's repetetive errors
            // trying to send PDUs, until a whole message is sent.

            //try
            //{
            if (_network != null)
            pdu.WritePDU(_network);
            //}
            //catch (Exception e)
            //{
            //    OnNetworkError(e);
            //    throw new DicomException("Unexpected exception when writing PDU",e);
            //}

            ResetDimseTimeout();
        }