| helics 3.6.1

networkDefaults.hpp
1 /*
2 Copyright (c) 2017-2025,
3 Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
4 Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
5 SPDX-License-Identifier: BSD-3-Clause
6 */
7 #pragma once
8 namespace helics {
9
10 namespace network {
11 // For ZMQ Comms
12 constexpr int DEFAULT_ZMQ_PORT = 23404;
13
14 constexpr int BACKUP_ZMQ_PORT = 23406;
15
16 constexpr int DEFAULT_ZMQSS_PORT = 23414;
17 constexpr int BACKUP_ZMQSS_PORT = 23814;
18
19 // for TCP comms
20 constexpr int DEFAULT_TCP_PORT = 24160;
21 constexpr int BACKUP_TCP_PORT = 24161;
22 constexpr int DEFAULT_TCPSS_PORT = 33133;
23
24 // for UDP comms
25 constexpr int DEFAULT_UDP_PORT = 23901;
26 constexpr int BACKUP_UDP_PORT = 23902;
27 } // namespace network
28
29 int getDefaultPort(int coreType);
30
31 } // namespace helics
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14