X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FTCP_daytime.c;h=ddb8e129b40d485b7a305ab50bc8842df9f29868;hp=5dc6ba9e2d107b5db36565314024b9172c8c971e;hb=HEAD;hpb=b1ead1b930038e4f7cd6ee7f737d7ee4699a068c diff --git a/sources/TCP_daytime.c b/sources/TCP_daytime.c index 5dc6ba9..ddb8e12 100644 --- a/sources/TCP_daytime.c +++ b/sources/TCP_daytime.c @@ -26,17 +26,17 @@ * * Usage: daytime -h give all info's * - * $Id: TCP_daytime.c,v 1.4 2003/05/02 09:55:14 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 /* standard library */ +//#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 /* C strings library */ #define MAXLINE 80 /* Program begin */ @@ -121,7 +121,7 @@ void usage(void) { printf("Take daytime from a remote host \n"); printf("Usage:\n"); printf(" daytime [-h] [-v] [host in dotted decimal form] \n"); - printf(" -v set verbosity on\n"); +// printf(" -v set verbosity on\n"); printf(" -h print this help\n"); exit(1); }