/*************************************************************************\ * Copyright (C) Michael Kerrisk, 2018. * * * * This program is free software. You may use, modify, and redistribute it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation, either version 3 or (at your option) any * * later version. This program is distributed without any warranty. See * * the file COPYING.gpl-v3 for details. * \*************************************************************************/ /* Solution for Exercise 59-2:a */ /* is_seqnum_v2.h Header file for is_seqnum_v2_sv.c and is_seqnum_v2_cl.c. */ #include "af_unix_hdr.h" #include #include #include #include "inet_sockets.h" /* Declares our socket functions */ #include "read_line.h" /* Declaration of readLine() */ #define PORT_NUM_STR "50000" /* Port number for server */ #define INT_LEN 30 /* Size of string able to hold largest integer (including terminating '\n') */