Bitcoin Core 32.99.0
P2P Digital Currency
types.h
Go to the documentation of this file.
1// Copyright (c) The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
12
13#ifndef BITCOIN_IPC_TYPES_H
14#define BITCOIN_IPC_TYPES_H
15
16#include <cstddef>
17#include <string>
18
19namespace ipc {
20
22inline constexpr size_t DEFAULT_MAX_CONNECTIONS{16};
23
27inline constexpr size_t MAX_CONNECTIONS{256};
28
32 std::string address;
33
36};
37
38} // namespace ipc
39
40#endif // BITCOIN_IPC_TYPES_H
Definition: ipc.h:17
constexpr size_t MAX_CONNECTIONS
Maximum accepted client connection limit for an IPC listening socket.
Definition: types.h:27
constexpr size_t DEFAULT_MAX_CONNECTIONS
Default accepted client connection limit for each IPC listening socket.
Definition: types.h:22
std::string address
Socket address passed to ipc::Process::bind(), with any -ipcbind socket options stripped.
Definition: types.h:32
size_t max_connections
Maximum simultaneous client connections accepted by this listener.
Definition: types.h:35