Home | History | Annotate | Download | only in socket

Lines Matching full:handshake

114 // if the SOCKS handshake is complete.
125 // SOCKS handshake is complete.
298 int SOCKS5ClientSocket::BuildHandshakeWriteBuffer(std::string* handshake)
300 DCHECK(handshake->empty());
302 handshake->push_back(kSOCKS5Version);
303 handshake->push_back(kTunnelCommand); // Connect command
304 handshake->push_back(kNullByte); // Reserved null
306 handshake->push_back(kEndPointDomain); // The type of the address.
311 handshake->push_back(static_cast<unsigned char>(
313 handshake->append(host_request_info_.hostname());
316 handshake->append(reinterpret_cast<char*>(&nw_port), sizeof(nw_port));
320 // Writes the SOCKS handshake data to the underlying socket connection.
432 // When the final bytes are read, setup handshake. We ignore the rest