X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2FTCP_daytime.c;h=80e2c3835f3dc633a2f078f8370893a35a494f76;hb=31f55ec58bee8b2c4993633849b7da4e30cab222;hp=18ce8d44a7d7028bbe44788f11f266e0ac497de2;hpb=b324b7a09e071b2f84a1849d109d4d14f27f44cd;p=gapil.git diff --git a/sources/TCP_daytime.c b/sources/TCP_daytime.c index 18ce8d4..80e2c38 100644 --- a/sources/TCP_daytime.c +++ b/sources/TCP_daytime.c @@ -1,4 +1,4 @@ -/* ElemDaytimeTCPClient.c +/* TCP_daytime.c * * Copyright (C) 2001 Simone Piccardi * @@ -26,17 +26,15 @@ * * Usage: daytime -h give all info's * - * $Id: TCP_daytime.c,v 1.1 2003/04/28 14:13:50 piccardi Exp $ - * ****************************************************************/ /* * Include needed headers */ -#include /* predefined types */ -#include /* include unix standard library */ +#include /* primitive system data types */ +#include /* unix standard library */ #include /* IP addresses conversion utiliites */ -#include /* socket library */ -#include /* include standard I/O library */ +#include /* socket constants, types and functions */ +#include /* standard I/O library */ #define MAXLINE 80 /* Program begin */ @@ -121,7 +119,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); }