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

Secure Echo SCU - TLS-secured DICOM Connectivity Test Client. More...

#include "kcenon/pacs/network/association.h"
#include "kcenon/pacs/network/dimse/dimse_message.h"
#include "kcenon/pacs/services/verification_scp.h"
#include "kcenon/pacs/integration/network_adapter.h"
#include <chrono>
#include <cstdlib>
#include <filesystem>
#include <iostream>
#include <string>
Include dependency graph for secure_echo_scu.cpp:

Go to the source code of this file.

Functions

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

Detailed Description

Secure Echo SCU - TLS-secured DICOM Connectivity Test Client.

Definition in file secure_echo_scu.cpp.

Function Documentation

◆ main()

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

Definition at line 396 of file secure_echo_scu.cpp.

396 {
397 std::cout << R"(
398 ____ _____ ____ _ _ ____ _____ _____ ____ ____
399 / ___|| ____/ ___| | | | _ \| ____| | ____/ ___/ ___|
400 \___ \| _|| | | | | | |_) | _| | _|| | \___ \
401 ___) | |__| |___| |_| | _ <| |___ | |__| |___ ___) |
402 |____/|_____\____|\___/|_| \_\_____| |_____\____|____/
403 ____ ____ _ _
404 / ___| / ___| | | |
405 \___ \| | | | | |
406 ___) | |___| |_| |
407 |____/ \____|\___/
408
409 TLS-Secured DICOM Connectivity Test Client
410)" << "\n";
411
412 std::string host;
413 uint16_t port = 0;
414 std::string called_ae;
415 std::string calling_ae;
416 tls_options tls;
417 std::chrono::milliseconds timeout;
418
419 if (!parse_arguments(argc, argv, host, port, called_ae, calling_ae, tls, timeout)) {
@ tls
TLS over TCP (RFC 5425) — Secure.
constexpr int timeout
Lock timeout exceeded.