PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
secure_echo_scp.cpp File Reference

Secure Echo SCP - TLS-secured DICOM Connectivity Test Server. More...

#include "kcenon/pacs/network/dicom_server.h"
#include "kcenon/pacs/network/server_config.h"
#include "kcenon/pacs/services/verification_scp.h"
#include "kcenon/pacs/integration/network_adapter.h"
#include <atomic>
#include <chrono>
#include <csignal>
#include <cstdlib>
#include <filesystem>
#include <iomanip>
#include <iostream>
#include <string>
Include dependency graph for secure_echo_scp.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

Secure Echo SCP - TLS-secured DICOM Connectivity Test Server.

Definition in file secure_echo_scp.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 411 of file secure_echo_scp.cpp.

411 {
412 std::cout << R"(
413 ____ _____ ____ _ _ ____ _____ _____ ____ ____
414 / ___|| ____/ ___| | | | _ \| ____| | ____/ ___/ ___|
415 \___ \| _|| | | | | | |_) | _| | _|| | \___ \
416 ___) | |__| |___| |_| | _ <| |___ | |__| |___ ___) |
417 |____/|_____\____|\___/|_| \_\_____| |_____\____|____/
418 ____ ____ ____
419 / ___| / ___| _ \
420 \___ \| | | |_) |
421 ___) | |___| __/
422 |____/ \____|_|
423
424 TLS-Secured DICOM Connectivity Test Server
425)" << "\n";
426
427 uint16_t port = 0;
428 std::string ae_title;
429 tls_options tls;
430 size_t max_associations = 0;
431 uint32_t idle_timeout = 0;
432
433 if (!parse_arguments(argc, argv, port, ae_title, tls, max_associations, idle_timeout)) {
434 print_usage(argv[0]);
435 return 1;
436 }
437
@ tls
TLS over TCP (RFC 5425) — Secure.