Return to ssh-keyscan.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.6, 2000/12/19 23:17:58 | version 1.7, 2001/01/08 22:03:23 | ||
---|---|---|---|
|
|
||
error("socket: %s", strerror(errno)); | error("socket: %s", strerror(errno)); | ||
continue; | continue; | ||
} | } | ||
if (fcntl(s, F_SETFL, O_NDELAY) < 0) | if (fcntl(s, F_SETFL, O_NONBLOCK) < 0) | ||
fatal("F_SETFL: %s", strerror(errno)); | fatal("F_SETFL: %s", strerror(errno)); | ||
if (connect(s, ai->ai_addr, ai->ai_addrlen) < 0 && | if (connect(s, ai->ai_addr, ai->ai_addrlen) < 0 && | ||
errno != EINPROGRESS) | errno != EINPROGRESS) |