X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2FTCP_echo_second.c;h=7fe3e2007b14ea7935170d427f47262ae12bfe73;hb=eba75c4aaf390ff55ad6697ab80d4c1512ea2f39;hp=fcf5a4fff7cafef64c467f90d089a5673df6916a;hpb=65cdd0498d1d9473110f86ebddede62c298e60dd;p=gapil.git diff --git a/sources/TCP_echo_second.c b/sources/TCP_echo_second.c index fcf5a4f..7fe3e20 100644 --- a/sources/TCP_echo_second.c +++ b/sources/TCP_echo_second.c @@ -1,4 +1,4 @@ -/* TCP_echo.c +/* TCP_echo_second.c * * Copyright (C) 2001-2003 Simone Piccardi * @@ -18,27 +18,26 @@ */ /**************************************************************** * - * Program TCP_echo.c + * Program TCP_echo_second.c * Simple TCP client for echo service (port 7) + * This version handle server closing connection * * Author: Simone Piccardi * Jun. 2001 * * Usage: echo -h give all info's * - * $Id: TCP_echo_second.c,v 1.1 2003/10/18 16:30:23 piccardi Exp $ - * ****************************************************************/ /* * Include needed headers */ -#include /* predefined types */ -#include /* include unix standard library */ -#include /* IP addresses conversion utiliites */ -#include /* socket library */ -#include /* include standard I/O library */ -#include /* include error codes */ -#include /* include erroro strings definitions */ +#include /* primitive system data types */ +#include /* unix standard library */ +#include /* IP addresses conversion utilities */ +#include /* socket constants, types and functions */ +#include /* standard I/O library */ +#include /* error definitions and routines */ +#include /* C strings library */ #define MAXLINE 256 void usage(void);