Cover V02, I04
Article
Listing 1
Listing 2
Listing 3
Listing 4
Table 1

jul93.tar


Listing 3

void noresponse()
{
alarm(1);    /* Hit the snooze button */
totsecs++;   /* Keep count of time passed */

if((opts&DEBUG)||(opts&VERBOSE))
printf("No response after %d seconds!\n",
totsecs-1);

if(totsecs>timeout)
{
printf("Connected to %s, but no response.\n",
hostname,hostname);
mypingexit(2);                    /* Exit CODE 2 */
}
}