![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
Successful response to a port mapping. More...
#include <pcp.h>
Public Member Functions | |
| MappingResult (uint8_t version, const CService &internal_in, const CService &external_in, uint32_t lifetime_in) | |
| std::string | ToString () const |
| Format mapping as string for logging. | |
Public Attributes | |
| uint8_t | version |
| Protocol version, one of NATPMP_VERSION or PCP_VERSION. | |
| CService | internal |
| Internal host:port. | |
| CService | external |
| External host:port. | |
| uint32_t | lifetime |
| Granted lifetime of binding (seconds). | |
| std::string MappingResult::ToString | ( | ) | const |
| uint32_t MappingResult::lifetime |
| uint8_t MappingResult::version |