Android-cuttlefish cvd tool
|
Namespaces | |
namespace | internal |
Classes | |
class | TcpTransport |
Functions | |
static uint64_t | ExtractMessageLength (const void *buffer) |
static void | EncodeMessageLength (uint64_t length, void *buffer) |
std::unique_ptr< Transport > | Connect (const std::string &hostname, int port, std::string *error) |
Variables | |
static constexpr int | kProtocolVersion = 1 |
static constexpr size_t | kHandshakeLength = 4 |
static constexpr int | kHandshakeTimeoutMs = 2000 |
constexpr int | kDefaultPort = 5554 |
std::unique_ptr< Transport > tcp::Connect | ( | const std::string & | hostname, |
int | port, | ||
std::string * | error | ||
) |
|
static |
|
static |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |