projects
/
gapil.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Correzioni per l'introduzione
[gapil.git]
/
listati
/
ServEcho.c
1
void ServEcho(int sockfd) {
2
char buffer[MAXLINE];
3
int nread, nwrite;
4
5
/* main loop, reading 0 char means client close connection */
6
while ( (nread = read(sockfd, buffer, MAXLINE)) != 0) {
7
nwrite = FullWrite(sockfd, buffer, nread);
8
}
9
return;
10
}