/* CHANGES FROM UNIX VERSION */ /* */ /* 1. Changed header files. */ #include /* for printf(), fprintf() */ #include /* for socket(),... */ #include /* for exit() */ void DieWithError(char *errorMessage); /* Error handling function */ void HandleTCPClient(int clntSocket); /* TCP client handling function */ int CreateTCPServerSocket(unsigned short port); /* Create TCP server socket */ int AcceptTCPConnection(int servSock); /* Accept TCP connection request */