projects
/
gapil.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Chiarimento prctl per PR_SET_CHILD_SUBREAPER e PR_GET_CHILD_SUBREAPER
[gapil.git]
/
listati
/
TCP_echo_sixth.c
1
...
2
/* check if resetting on close is required */
3
if (reset) {
4
printf("Setting reset on close \n");
5
ling.l_onoff = 1;
6
ling.l_linger = 0;
7
if (setsockopt(sock, SOL_SOCKET, SO_LINGER, &ling, sizeof(ling))) {
8
perror("Cannot set linger");
9
exit(1);
10
}
11
}
12
...