Sorry for my english at the beginning.
I try to set dcmsnd command with timeout 10s.
For this i use option -acceptTo.
My dcmsnd command with that option looks like this...
./datastore01/tele-hub-data/DICOM/dcm4che/bin/dcmsnd
IMP...@10.10.8.211:104 /datastore01/tele-hub-data/DICOM/03-sent_3/39 -acceptTo 10000
When i execute command then appears information...
-sh-4.1$ ./datastore01/tele-hub-data/DICOM/dcm4che/bin/dcmsnd
IMP...@10.10.8.211:104 /datastore01/tele-hub-data/DICOM/03-sent_3/39 -acceptTo 10000
Exception in thread "main" java.lang.NumberFormatException: For input string: "cceptTo"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at java.lang.Long.parseLong(Long.java:631)
at org.dcm4che2.tool.dcmsnd.DcmSnd.main(DcmSnd.java:803)
Option "-acceptTo" is in documentation of "dcmsnd" command. Why this command doesn't recognize this option?
Could anyone help me with this problem?