AE Title, IP Address & Port Number

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
JL
Posts: 33
Joined: Sun, 2004-11-14, 00:05
Location: US

AE Title, IP Address & Port Number

#1 Post by JL »

Hello,
I have DICOM studies that VPN into one of the folder in my laptop. I want to develop an app that can forward these data to a DICOM viewing station.

The viewing station (with AE Title, IP address and port number) can only accept data push to it from another AE Title within the network.

Wonder can someone tell me whether there is a relevant DCMTK library (or sample code segment) I can use to develop a simple App which can be identified to other DICOM AEs in the network through "its AE Title, IP address and port number"? I want to use this app to forward the files in this folder to the viewing station.

If there is no such library in DCMTK, would someone be kind enough to tell me where I can find a relevant open source project to create such an app. My development environment is limited to Windows.
Thanks.
JL

omarelgazzar
Posts: 101
Joined: Wed, 2009-07-08, 16:06
Location: Oldenburg, Germany

#2 Post by omarelgazzar »

Hallo,

If you want to send DICOM files to a viewing station, then storescu application is what your are looking for. But for DICOM C-STORE SCU application you cannot specify a port number to send your DICOM images through. This is usually a dummy port assigned by Windows. For a C-STORE SCP, it is enough to provide AE title for authentication purposes.

BTW: LEADTools provides a function to connect to a server in which you provide the source IP and source port and destination IP and destination Port. But unfortunately LEADTools is not open source.

JL
Posts: 33
Joined: Sun, 2004-11-14, 00:05
Location: US

#3 Post by JL »

Hello Omarelgazzar,
Thanks for the pointers.
Quick question. Isn't all devices on the networks communicate with each other through a port (plus IP address)? Cannot be a randomly assigned port right?

The viewing station is from GE. In the configuration panel, the station requires a port number (plus AE Title and IP address). When you said dummy port, are you saying I can assign any port number to it as long as I have the IP address and AE Title are correct?

I am not sure I understand the whole thing. But much appreciated for more details.
Regards,
JL :roll:

omarelgazzar
Posts: 101
Joined: Wed, 2009-07-08, 16:06
Location: Oldenburg, Germany

#4 Post by omarelgazzar »

Hallo JL,

There is a source port and a destination port. A source port is not configured as it is not used by any other applications and it is usually binded by OS.

If you don't know the source port number that was used by storescu, then you can assign a dummy port (e.g DICOM port: 104) which actually will never be used by the viewing station.

Best Regards,
Omar

JL
Posts: 33
Joined: Sun, 2004-11-14, 00:05
Location: US

#5 Post by JL »

Super! and Thank You Omar!

I have to develop this app first.

So am I safe to say the app using the storescu tools can identify the Viewing Station through its (the viewing station) AE Title, IP address and port number. The storescu class has the function calls that I can invoke to forward the studies in the folder directory to the Viewing Station AE Title?

On the Viewing Station side, I can configure the Viewing Station to associate the AE Title and IP address of the app I am going to built. As for the port number identification of this App, I can just assign the DICOM port #104.

This way, the association can be established between these 2 AE Titles. Correct?

Need some assurance to build up my confidence here.
Regards,
JL

omarelgazzar
Posts: 101
Joined: Wed, 2009-07-08, 16:06
Location: Oldenburg, Germany

#6 Post by omarelgazzar »

Yes, Correct. This is enough to establish a c-store association and you can actually try storescu commandline to transmit these images to the viewing station using this configuration.

JL
Posts: 33
Joined: Sun, 2004-11-14, 00:05
Location: US

#7 Post by JL »

Thank you. :D

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest