Searched refs:so_error (Results 1 – 1 of 1) sorted by relevance
258 int so_error; in ConnectWithTimeout() local259 socklen_t len = sizeof(so_error); in ConnectWithTimeout()260 if (GetSockOpt(SOL_SOCKET, SO_ERROR, &so_error, &len) == -1) { in ConnectWithTimeout()265 if (so_error != 0) { in ConnectWithTimeout()266 LOG(ERROR) << "Failure in opening socket: " << so_error; in ConnectWithTimeout()267 errno_ = so_error; in ConnectWithTimeout()