Overview
This application acts as a Storage SCU to send DICOM objects to a Storage SCP. It loads composite DICOM Object(s) from specified DICOM file(s) or a directory structure and sends them to the specified remote Application Entity. If a directory is specified, all DICOM objects in files under that directory and its sub-directories are sent. If <port>
is not specified, DICOM default port 104 is assumed. If no <host>
is specified, localhost is assumed.
Usage
dcmsnd [Options] <aet>[@<host>[:<port>]] <file>|<directory>...
Options
-soclosedelay <ms> delay in ms for Socket close after sending A-ABORT, 50ms by default -acceptTO <ms> timeout in ms for receiving A-ASSOCIATE-AC, 5s by default -releaseTO <ms> timeout in ms for receiving A-RELEASE-RP, 5s by default -reaper <ms> period in ms to check for outstanding DIMSE-RSP, 10s by default -rspTO <ms> timeout in ms for receiving DIMSE-RSP, 60s by default -lowprior LOW priority of the C-STORE operation, MEDIUM by default -highprior HIGH priority of the C-STORE operation, MEDIUM by default -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 -L <aet[@host]> set AET and local address of local Application Entity, use ANONYMOUS and pick up any valid local address to bind the socket by default -V,--version print the version information and exit -async <maxops> maximum number of outstanding operations it may invoke asynchronously, unlimited by default. -bufsize <KB> transcoder buffer size in KB, 1KB by default -connectTO <ms> timeout in ms for TCP connect, no timeout by default -h,--help print this message -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
Example
dcmsnd DCMRCV@localhost:11112 image.dcm
Opens an association to a local server listening on port 11112 with the called application entity title DCMRCV. Sends the DICOM file image.dcm to the server.