This is get_tcp_conn.h in view mode; [Download] [Up]
/* ** Return codes from get_tcp_conn(). */ #ifndef FAIL #define FAIL (-1) /* routine failed */ #endif #define NOHOST (FAIL-1) /* no such host */ #define NOSERVICE (FAIL-2) /* no such service */ #ifndef NULL #define NULL 0 #endif #ifdef USG /* brain-dead USG compilers can't deal with typedef */ #define bcopy(a,b,c) memcpy(b,a,c) #ifndef M_XENIX #ifndef dgux #define u_long unsigned long #define u_short unsigned short #endif #endif #endif #ifdef EXCELAN #define NONETDB #define OLDSOCKET #endif #ifdef NONETDB #define IPPORT_NNTP 119 /* NNTP is on TCP port 119 */ #endif NONETDB
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.