-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added alternative service provision API to DcmSCP.
Added alternative service provision interface to class DcmSCP that can be used instead of DcmSCP::listen(). The alternative interface uses two separate calls, where the first one, openListenPort(), opens the TCP port and executes listen(3), and the second one, acceptAssociations(), runs the service provision code just as listen() does. The alternative interface allows incoming network connections to be placed on the listen backlog while the caller performs other work (such as a Storage Commitment SCU sending out an N-ACTION-RQ) and to be accepted and handled once acceptAssociations() is run.
- Loading branch information
Marco Eichelberg
committed
May 1, 2020
1 parent
5961ce3
commit c3d4c8e
Showing
2 changed files
with
74 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters