X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FTCP_echo.c;h=2a6f921dd54a2543b75bc09b01e2f5ac30532632;hp=be6842babd90358dffab5bbd4526dabe07ee65bf;hb=58512a223c21f764630ea351c9fac80a25e614fe;hpb=9b316c16855b494012c49ee1f6ec6d435ae148cd diff --git a/sources/TCP_echo.c b/sources/TCP_echo.c index be6842b..2a6f921 100644 --- a/sources/TCP_echo.c +++ b/sources/TCP_echo.c @@ -26,7 +26,7 @@ * * Usage: echo -h give all info's * - * $Id: TCP_echo.c,v 1.1 2003/06/23 13:58:36 piccardi Exp $ + * $Id: TCP_echo.c,v 1.2 2003/06/23 18:48:04 piccardi Exp $ * ****************************************************************/ /* @@ -106,6 +106,7 @@ int main(int argc, char *argv[]) } /* check if resetting on close is required */ if (reset) { + printf("Setting reset on close \n"); ling.l_onoff = 1; ling.l_linger = 0; if (setsockopt(sock, SOL_SOCKET, SO_LINGER, &ling, sizeof(ling))) {