Hi OFFIS team,
I am implementing a class that inherits from DcmBaseSCPPool. DcmBaseSCPPool has function called "listen" that is doing network initialization and listening for incoming requests in the loop.
From the comment to this function:
* @return DUL_NOASSOCIATIONREQUEST if no connection is requested during
* timeout. Returns other error code if serious error occurs during
* listening. Will not return EC_Normal since listens forever if
* no timeout occurs.
With such implementation it is not possible to get a notification if it initialized network successfully or if it failed, e.g. the selected port is already taken and it is not possible to procced with listening part.
I created the PR that addresses this issue: https://github.com/DCMTK/dcmtk/pull/71
Please have a look, and let me know what do you think.
Problem with getting network initialization status.
Moderator: Moderator Team
-
- Posts: 4
- Joined: Mon, 2022-09-05, 09:33
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Problem with getting network initialization status.
Hi,
it's already integrated and shows up soon on master (see comment on GitHub).
Thanks for the contribution
Best regards,
Michael
it's already integrated and shows up soon on master (see comment on GitHub).
Thanks for the contribution
Best regards,
Michael
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest