Cover V03, I04
Article
Listing 1
Listing 2
Listing 3
Listing 4
Listing 5
Listing 6
Sidebar 1

jul94.tar


Listing 2: snk.h--General defines used by the snklogin program

/* special id which uses snkshell */
#define SNKLOGIN        "snk"
/* timeout value for prompts (in seconds) */
#define SNKTIMEOUT      180

/* modes that real_ipinfo() will return */
/*   return the real hostname on the socket */
#define HOSTNAME        1
/*   return the real ip address on the socket */
#define IP_ADDR         2
/* end of snk.h */