dcmrcv

Overview

Executing the dcmrcv utility will run a DICOM Server listening on the specified <port> for incoming association requests. If no local IP address of the network interface is specified, connections on any/all local addresses are accepted. If <aet> is specified, only requests with a matching called AE title will be accepted.

Usage

dcmrcv [Options] [<aet>[@<ip>]:]<port>

Example

dcmrcv DCMRCV:11112 -dest /tmp

Starts server listening on port 11112, accepting association requests with DCMRCV as the called AE title. Received objects are stored to /tmp.

Options

-soclosedelay <ms>   delay in ms for Socket close after sending A-ABORT,
                     50ms by default

-releaseTO <ms>      timeout in ms for receiving A-RELEASE-RP, 5s by
                     default

-requestTO <ms>      timeout in ms for receiving -ASSOCIATE-RQ, 5s by
                     default

-idleTO <ms>         timeout in ms for receiving DIMSE-RQ, 60s by default

-reaper <ms>         period in ms to check for outstanding DIMSE-RSP, 10s
                     by default

-rspdelay <ms>       delay in ms for DIMSE-RSP; useful for testing
                     asynchronous mode

-pdv1                send only one PDV in one P-Data-TF PDU, pack command
                     and data PDV in one P-DATA-TF PDU by default.

-sndpdulen <KB>      maximal length in KB of sent P-DATA-TF PDUs, 16KB by
                     default

-rcvpdulen <KB>      maximal length in KB of received P-DATA-TF PDUs,
                     16KB by default

-V,--version         print the version information and exit

-async <maxops>      maximum number of outstanding operations performed
                     asynchronously, unlimited by default.

-bigendian           accept also Explict VR Big Endian transfer syntax.

-bufsize <KB>        minimal buffer size to write received object to
                     file, 1KB by default

-defts               accept only default transfer syntax.

-dest <dir>          store received objects into files in specified
                     directory <dir>. Do not store received objects by default.

-h,--help            print this message

-native              accept only transfer syntax with uncompressed pixel
                     data.

-sorcvbuf <KB>       set SO_RCVBUF socket option to specified value in KB

-sosndbuf <KB>       set SO_SNDBUF socket option to specified value in KB

-tcpdelay            set TCP_NODELAY socket option to false, true by
                     default