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

Echo SCP - 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 <atomic>
#include <chrono>
#include <csignal>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <string>
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

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

Detailed Description

Echo SCP - DICOM Connectivity Test Server.

Definition in file main.cpp.

Function Documentation

◆ main()

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

Definition at line 295 of file main.cpp.

295 {
296 std::cout << R"(
297 _____ ____ _ _ ___ ____ ____ ____
298 | ____/ ___| | | |/ _ \ / ___| / ___| _ \
299 | _|| | | |_| | | | | \___ \| | | |_) |
300 | |__| |___| _ | |_| | ___) | |___| __/
301 |_____\____|_| |_|\___/ |____/ \____|_|
302
303 DICOM Connectivity Test Server
304)" << "\n";
305
306 uint16_t port = 0;
307 std::string ae_title;
308 size_t max_associations = 0;
309 uint32_t idle_timeout = 0;
310
311 if (!parse_arguments(argc, argv, port, ae_title, max_associations, idle_timeout)) {
312 print_usage(argv[0]);
313 return 1;
314 }
315