Searched refs:kHandshakeLength (Results 1 – 1 of 1) sorted by relevance
37 static constexpr size_t kHandshakeLength = 4; variable96 if (!socket_->Send(handshake_message.c_str(), kHandshakeLength)) { in InitializeProtocol()102 char buffer[kHandshakeLength + 1]; in InitializeProtocol()103 buffer[kHandshakeLength] = '\0'; in InitializeProtocol()104 if (socket_->ReceiveAll(buffer, kHandshakeLength, kHandshakeTimeoutMs) != kHandshakeLength) { in InitializeProtocol()