Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
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
14
15#ifndef BITCOIN_IPC_TYPES_H
16#define BITCOIN_IPC_TYPES_H
17
18#include <cstddef>
19#include <string>
20
21namespace ipc {
22
24inline constexpr size_t DEFAULT_MAX_CONNECTIONS{16};
25
29inline constexpr size_t MAX_CONNECTIONS{256};
30
39
40} // namespace ipc
41
42#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:29
constexpr size_t DEFAULT_MAX_CONNECTIONS
Default accepted client connection limit for each IPC listening socket.
Definition types.h:24
std::string address
Socket address passed to ipc::Process::bind(), with any -ipcbind socket options stripped.
Definition types.h:34
size_t max_connections
Maximum simultaneous client connections accepted by this listener.
Definition types.h:37