Searched refs:bind_addr (Results 1 – 1 of 1) sorted by relevance
107 SocketAddress bind_addr; in Connect() local112 ? bind_addr.SetToLocalhost(kDomain, host_port->port) in Connect()113 : bind_addr.SetToAnyAddress(kDomain, host_port->port); in Connect()120 bind_addr.SetPort(0); // Let the source port # be determined dynamically in Connect()122 err = ::bind(socket->GetNativeSocket(), bind_addr, bind_addr.GetLength()); in Connect()