projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modifiche per le tabelle per Mirko.
[gapil.git]
/
sources
/
TCP_echo.c
diff --git
a/sources/TCP_echo.c
b/sources/TCP_echo.c
index be6842babd90358dffab5bbd4526dabe07ee65bf..2a6f921dd54a2543b75bc09b01e2f5ac30532632 100644
(file)
--- a/
sources/TCP_echo.c
+++ b/
sources/TCP_echo.c
@@
-26,7
+26,7
@@
*
* Usage: echo -h give all info's
*
*
* 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) {
}
/* 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))) {
ling.l_onoff = 1;
ling.l_linger = 0;
if (setsockopt(sock, SOL_SOCKET, SO_LINGER, &ling, sizeof(ling))) {