helics  2.8.1
networkDefaults.hpp
1 /*
2 Copyright (c) 2017-2021,
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 
9 // For ZMQ Comms
10 constexpr int DEFAULT_ZMQ_BROKER_PORT_NUMBER = 23404;
11 
12 constexpr int BACKUP_ZMQ_BROKER_PORT_NUMBER = 23406;
13 
14 constexpr int DEFAULT_ZMQSS_BROKER_PORT_NUMBER =
15  23414; // Todo define a different port number (change in HELICS 3.0)
16 constexpr int BACKUP_ZMQSS_BROKER_PORT_NUMBER = 23814;
17 
18 // for TCP comms
19 constexpr int DEFAULT_TCP_BROKER_PORT_NUMBER = 24160;
20 constexpr int BACKUP_TCP_BROKER_PORT_NUMBER = 24161;
21 constexpr int DEFAULT_TCPSS_PORT = 33133;
22 
23 // for UDP comms
24 static const int DEFAULT_UDP_BROKER_PORT_NUMBER = 23901;
25 static const int BACKUP_UDP_BROKER_PORT_NUMBER = 23902;