/************************************************************ * * tcpUtilities.h * * Adapted from Douglas Comer's "Internetworking with TCP/IP" * by Jeff Ondich and Lauren Jantz, summer 1995. * * The functions prototyped here are used by the * example client (helloClient.c) and servers * (helloServer.c and helloConcurrent.c). * ************************************************************/ #include /* Try "man sys_errlist" and "man 2 intro" to learn more about sys_errlist and errno. */ extern int errno; extern char *sys_errlist[]; int MakeConnection( char *, int ); int SetUpPassiveSocket( int, int ); int ReadFromSocket( int, char *, int ); void GetPeerHostName( int, char *); void BailOut( char *, ... );