DCMTK IPV6 support

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
GodsSME
Posts: 3
Joined: Thu, 2024-04-11, 17:25

DCMTK IPV6 support

#1 Post by GodsSME »

Is DCMTK supports IPV6 ?

We've encountered an issue with IPV6 communication through DCMTK.
Despite our efforts in configuration and setup, we're unable to establish these communications successfully.
We doubt DCMTK is not supporting IPV6.
Also, we're uncertain if there's any missing configuration or setup that might be causing this issue.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1446
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: DCMTK IPV6 support

#2 Post by Marco Eichelberg »

DCMTK contains partial support for IPv6, but the support is incomplete, so it is not entirely surprising that you are encountering issues.

GodsSME
Posts: 3
Joined: Thu, 2024-04-11, 17:25

Re: DCMTK IPV6 support

#3 Post by GodsSME »

Partial support means? Could you please explain?
We tried with both hostname and ipv6 address. Both were not successful.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1446
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: DCMTK IPV6 support

#4 Post by Marco Eichelberg »

The command line tools will not work with IPv6 yet.

On library level, some classes and functions are "IPv6 ready", such as
  • class OFSockAddr
  • OFStandard::getHostnameByAddress()
  • the gethostid() function, which in some cases uses the system's IP address
  • the oflog logging module
Other functions do not support IPv6 yet, including:
  • receiveTransportConnectionTCP() and initializeNetworkTCP(). These are functions that every DCMTK based application that accepts network connections is using, i.e. all DCMTK-based "servers" will only accept connections over IPv4.
  • The inter-process communication functions of the dcmpstat module

GodsSME
Posts: 3
Joined: Thu, 2024-04-11, 17:25

Re: DCMTK IPV6 support

#5 Post by GodsSME »

We are working on SCU side, not server side.
Specifically checking/using the requestAssociationTCP(PRIVATE_NETWORKKEY ** network, DUL_ASSOCIATESERVICEPARAMETERS * params, PRIVATE_ASSOCIATIONKEY ** association) from https://github.com/DCMTK/dcmtk/blob/mas ... /dulfsm.cc file

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1446
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: DCMTK IPV6 support

#6 Post by Marco Eichelberg »

I don't see any reason why this should not work, but in the absence of an IPv6 network, I cannot test it. Sorry.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest