version 1.5, 1998/08/18 04:02:18 |
version 1.6, 1999/03/03 20:43:30 |
|
|
current_state = "Waiting to connect with caller"; |
current_state = "Waiting to connect with caller"; |
do { |
do { |
if (ntohs(response.addr.sa_family) != AF_INET) |
if (ntohs(response.addr.sa_family) != AF_INET) |
p_error("Response uses invalid network address"); |
quit("Response uses invalid network address", 1); |
errno = 0; |
errno = 0; |
if (connect(sockt, (struct sockaddr *)&response.addr, |
if (connect(sockt, (struct sockaddr *)&response.addr, |
sizeof (response.addr)) != -1) |
sizeof (response.addr)) != -1) |
|
|
open_sockt(); |
open_sockt(); |
return (0); |
return (0); |
} |
} |
p_error("Unable to connect with initiator"); |
quit("Unable to connect with initiator", 1); |
/*NOTREACHED*/ |
/*NOTREACHED*/ |
} |
} |
|
|