P2P File Share
A simple peer-to-peer file sharing system.
|
#include <endpoint.hpp>
Public Member Functions | |
std::string | to_string () const |
Static Public Member Functions | |
static Endpoint | from_string (const std::string &str) |
static EndpointID | generate_id (const Endpoint &endpoint) |
Public Attributes | |
std::string | ip |
uint16_t | port |
Friends | |
bool | operator== (const Endpoint &lhs, const Endpoint &rhs) noexcept |
|
inlinestatic |
|
inlinestatic |
|
inline |
std::string Endpoint::ip |
uint16_t Endpoint::port |