projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Inserita una nota esplicativa sulla struttura dirent, su segnalazione di
[gapil.git]
/
listati
/
UDP_echo.c
diff --git
a/listati/UDP_echo.c
b/listati/UDP_echo.c
index 943ec75499fcc004f48ccdbaec2fac7d4f62c81c..f28a408305d8a3e33238730f77568604e8df04e0 100644
(file)
--- a/
listati/UDP_echo.c
+++ b/
listati/UDP_echo.c
@@
-24,8
+24,9
@@
int main(int argc, char *argv[])
perror("Address creation error");
return 1;
}
+ connect(sock, &serv_add, sizeof(*serv_add));
/* do read/write operations */
- ClientEcho(stdin, sock
, &serv_add
);
+ ClientEcho(stdin, sock);
/* normal exit */
return 0;
}