Search found 20 matches
- Fri, 2021-12-17, 11:30
- Forum: DCMTK - General
- Topic: defragmentTCP() does not handle WSAEWOULDBLOCK error on Windows when no data ready from non-blocking socket for read()
- Replies: 7
- Views: 3555
Re: defragmentTCP() does not handle WSAEWOULDBLOCK error on Windows when no data ready from non-blocking socket for read
In our Windows user context, that timeToWait is not long enough to wait for the data availability from the socket and meanwhile, that do-while condition does not tell WSAEWOULDBLOCK error, thus DUL_NETWORKCLOSED is returned instead of DUL_READTIMEOUT expected. By the way the code works fine on our L...
- Wed, 2021-12-15, 08:07
- Forum: DCMTK - General
- Topic: defragmentTCP() does not handle WSAEWOULDBLOCK error on Windows when no data ready from non-blocking socket for read()
- Replies: 7
- Views: 3555
Re: defragmentTCP() does not handle WSAEWOULDBLOCK error on Windows when no data ready from non-blocking socket for read
It is to wait for a while to recheck socket availability.
The code here resolves the problem we met here, In defragmentTCP(), read() in non-blocking mode fails when the socket is not ready to be read, if we do not wait for a while, defragmentTCP() will return then we have no data received.
The code here resolves the problem we met here, In defragmentTCP(), read() in non-blocking mode fails when the socket is not ready to be read, if we do not wait for a while, defragmentTCP() will return then we have no data received.
- Tue, 2021-08-31, 02:11
- Forum: DCMTK - General
- Topic: defragmentTCP() does not handle WSAEWOULDBLOCK error on Windows when no data ready from non-blocking socket for read()
- Replies: 7
- Views: 3555
- Fri, 2021-08-27, 13:15
- Forum: DCMTK - General
- Topic: defragmentTCP() does not handle WSAEWOULDBLOCK error on Windows when no data ready from non-blocking socket for read()
- Replies: 7
- Views: 3555
defragmentTCP() does not handle WSAEWOULDBLOCK error on Windows when no data ready from non-blocking socket for read()
We (Bonnie found the issue) have a DICOM message relay on Windows to test, storescu --> our DICOM router(SCP --> SCU, using DCMTK3.6.6) --> external SCP, We got the error shown below on Windows, We do not have the same problem on Linux with our DICOM router built from the same DCMTK. C:\testbin>stor...
- Mon, 2014-05-19, 10:15
- Forum: DCMTK - General
- Topic: build issue on AIX 6.1
- Replies: 3
- Views: 3566
Re: build issue on AIX 6.1
I had the log in more detail, [ 0%] Building CXX object ofstd/libsrc/CMakeFiles/ofstd_obj.dir/ofcmdln.cc.o cd /work/dcmtk-build/dcmtk/ofstd/libsrc && /bin/xlC_r -+ -DDCMTK_BUILD_IN_PROGRESS -DUSE_NULL_SAFE_OFSTRING -D_REENTRANT -Dofstd_EXPORTS -O2 -fvisibility=hidden -D_XOPEN_SOURCE_EXTENDED...
- Thu, 2014-05-08, 10:27
- Forum: DCMTK - General
- Topic: build issue on AIX 6.1
- Replies: 3
- Views: 3566
build issue on AIX 6.1
I am building dcmtk on aix 6.1, while got problems. in CMakefileCache.txt, I have //Have include stdio.h HAVE_STDIO_H:INTERNAL=1 While, the build says something like this, build@aix03 77>make Scanning dependencies of target ofstd_obj [ 0%] Building CXX object ofstd/libsrc/CMakeFiles/ofstd_obj.dir/of...
- Fri, 2013-11-08, 09:59
- Forum: DCMTK - General
- Topic: what got changed in dcm2xml between 3.6.0 and 3.6.1 (NUL)?
- Replies: 6
- Views: 6084
Re: what got changed in dcm2xml between 3.6.0 and 3.6.1 (NUL
Btw, I just committed a patch that avoids the output of embedded NULL bytes (which is probably never desirable for an XML document). There still could be the issue when "convertNonASCII" mode is true in the patch, so we still need to check charValue against 0 under convertNonASCII mode, r...
- Thu, 2013-10-24, 09:47
- Forum: DCMTK - General
- Topic: what got changed in dcm2xml between 3.6.0 and 3.6.1 (NUL)?
- Replies: 6
- Views: 6084
Re: what got changed in dcm2xml between 3.6.0 and 3.6.1 (NUL
I understand that odd-lenght element principle, while just think maybe that output can skip NUL-printed as older version did. That is nightmare to the string in c style.
- Thu, 2013-10-24, 06:07
- Forum: DCMTK - General
- Topic: what got changed in dcm2xml between 3.6.0 and 3.6.1 (NUL)?
- Replies: 6
- Views: 6084
what got changed in dcm2xml between 3.6.0 and 3.6.1 (NUL)?
I am using dataelement->writeXML to have XML style dicom content internally. While found the output difference of dcm2xml tool between 3.6.0(D: $dcmtk: dcm2xml v3.6.0 2011-01-06 $) and 3.6.1($dcmtk: xml2dcm v3.6.1 2013-09-12 $) The NULL is appended to xml in the output of newer version. They are usi...
- Thu, 2013-10-17, 09:56
- Forum: DCMTK - General
- Topic: Is that dcm2xml.dtd validated?
- Replies: 4
- Views: 4051
Re: Is that dcm2xml.dtd validated?
Got it/J. Riesmeier wrote:Thank you for providing the requested details! This issue has been fixed now.
- Thu, 2013-10-17, 09:11
- Forum: DCMTK - General
- Topic: Is that dcm2xml.dtd validated?
- Replies: 4
- Views: 4051
Re: Is that dcm2xml.dtd validated?
Thank you for your observation. When we wrote the DTD, we've used various DTD validators, and none of them reported any issue (as far as I can remember). But of course, they did not check against the XML specification. Could you please give us the exact reference to the W3C XML specification where ...
- Thu, 2013-10-17, 03:42
- Forum: DCMTK - General
- Topic: Is that dcm2xml.dtd validated?
- Replies: 4
- Views: 4051
Is that dcm2xml.dtd validated?
I saw that dcm2xml.dtd has
The W3C XML specification does not allow #CDATA in the content model for elements. Was that an issue in the DTD definition?
Code: Select all
<!ELEMENT pixel-item ( CDATA ) >
- Tue, 2013-10-15, 01:39
- Forum: DCMTK - General
- Topic: DcmSCP, event handling, and etc ...
- Replies: 9
- Views: 12450
Re: DcmSCP, event handling, and etc ...
Proud of that for such a nice open source tool for DICOM world.J. Riesmeier wrote:This issue should be fixed with the following commit: http://git.dcmtk.org/web?p=dcmtk.git;a= ... 17eb0a02dc
Thanks again for your bug report!
- Mon, 2013-10-14, 06:38
- Forum: DCMTK - General
- Topic: DcmSCP, event handling, and etc ...
- Replies: 9
- Views: 12450
Re: DcmSCP, event handling, and etc ...
In don't know what the registerSocketEvent() does but my first guess would be that your "event system" does something with the network socket that prevents the DCMTK network routines from working correctly. So, the only thing I can recommend is: do further debugging... Hi, Basically I thi...
- Sat, 2013-10-12, 04:13
- Forum: DCMTK - General
- Topic: DcmSCP, event handling, and etc ...
- Replies: 9
- Views: 12450
Re: DcmSCP, event handling, and etc ...
The problem is DUL_NETWORKCLOSED occurred. The accpet socket looks not available at that time. It looks strange to me, that is in Visual studio 2008 debugging evironment(the same issue occurred in release version of my app). The screenshot is here http://yunpan.cn/QbB9NKpjjcc7T call stack is, > dcmt...