helics 3.7.0
Loading...
Searching...
No Matches
networkDefaults.hpp
1/*
2Copyright (c) 2017-2026,
3Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Energy
4Innovation LLC. See the top-level NOTICE for additional details. All rights reserved.
5SPDX-License-Identifier: BSD-3-Clause
6*/
7#pragma once
8namespace helics {
9
10namespace 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
29int getDefaultPort(int coreType);
30
31} // namespace helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition AsyncFedCallInfo.hpp:14