Searched refs:socket_errno (Results 1 – 1 of 1) sorted by relevance
973 int socket_errno; in remus_connect_event() local978 socket_errno_size = sizeof(socket_errno); in remus_connect_event()979 if (getsockopt(s->stream_fd.fd, SOL_SOCKET, SO_ERROR, &socket_errno, &socket_errno_size)) { in remus_connect_event()984 RPRINTF("socket connect returned %d\n", socket_errno); in remus_connect_event()986 if(socket_errno) in remus_connect_event()990 if(socket_errno == ECONNREFUSED || socket_errno == ENETUNREACH || socket_errno == ETIMEDOUT in remus_connect_event()991 || socket_errno == ECONNABORTED || socket_errno == EAGAIN) in remus_connect_event()1003 RPRINTF("socket connect returned %d, giving up\n", socket_errno); in remus_connect_event()
Completed in 5 milliseconds