Search found 6 matches

by michael12345
Tue, 2016-01-19, 14:50
Forum: DCMTK - General
Topic: socket select timeout
Replies: 11
Views: 11404

Re: socket select timeout

Hello Michael, that's a good question and difficult for me to answer as my knowledge about this is also limited. From my understanding handling EINTR depends a bit on the use case which makes it difficult to implement "the right way" in a library that can be used in lots of different scena...
by michael12345
Tue, 2016-01-12, 13:54
Forum: DCMTK - General
Topic: socket select timeout
Replies: 11
Views: 11404

Re: socket select timeout

It seems that this issue was forgotten, can't see the changes in the code nor find it in the bug tracker. Can you follow up on this please?
by michael12345
Tue, 2014-11-25, 14:59
Forum: DCMTK - General
Topic: socket select timeout
Replies: 11
Views: 11404

Re: socket select timeout

Thanks, will be patient I promise ;-)
by michael12345
Tue, 2014-11-25, 14:04
Forum: DCMTK - General
Topic: socket select timeout
Replies: 11
Views: 11404

Re: socket select timeout

I think it is correct as it is. At the start of the function lTimeout is set to the initial timeout. In case of a retry (failure) lTimeout is reduced with the time already spent (tracked using OFTimer): lTimeout = timeout - diff; // where timeout is the original timeout and diff the result from OFTi...
by michael12345
Fri, 2014-10-17, 10:05
Forum: DCMTK - General
Topic: socket select timeout
Replies: 11
Views: 11404

socket select timeout

We recently hit a timeout in non-blocking mode (store-scp receiving data) where the timeout set clearly hasn't been reached. After investigating the issue comes from a posix system signal interrupting the socket select blocking wait call in DcmTCPConnection::networkDataAvailable(int timeout) in dcmt...
by michael12345
Fri, 2014-10-17, 09:46
Forum: DCMTK - General
Topic: Multi-Threading
Replies: 1
Views: 2774

Multi-Threading

We use dcmtk code (especially from dcmnet) within multiple threads and I know FAQ 18, so far things are good, however the network initialization looks slightly worrying: dul.cc, DUL_InitializeNetwork: // a few initializations must only be done the first time this function is called. if (! networkIni...