projects
/
gapil.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Correzioni varie, in particolare per quanto riguarda i riferimenti a
[gapil.git]
/
listati
/
TCP_echod_fifth.c
1
int main(int argc, char *argv[])
2
{
3
/*
4
* Variables definition
5
*/
6
int list_fd, conn_fd;
7
int keepalive = 0;
8
int reuse = 0;
9
...
10
/* create and bind socket */
11
if ( (list_fd = sockbindopt(argv[optind], "echo", 6,
12
SOCK_STREAM, reuse)) < 0) {
13
return 1;
14
}
15
...
16
/* normal exit, never reached */
17
exit(0);
18
}