Home
last modified time | relevance | path

Searched refs:client_protocol (Results 1 – 1 of 1) sorted by relevance

/device/google/cuttlefish/host/frontend/vnc_server/
Dvnc_client_connection.cpp202 auto client_protocol = client_.Recv(kVersionLen); in SetupProtocol() local
203 if (std::memcmp(&client_protocol[0], kRFBVersion, in SetupProtocol()
204 std::min(kVersionLen, client_protocol.size())) != 0) { in SetupProtocol()
206 &client_protocol[0], in SetupProtocol()
208 std::min(kVersionLen, client_protocol.size()))) { in SetupProtocol()
214 client_protocol.push_back('\0'); in SetupProtocol()
216 << reinterpret_cast<const char*>(&client_protocol[0]); in SetupProtocol()