*
* Usage: echo -h give all info's
*
- * $Id: UDP_echo.c,v 1.1 2004/05/01 17:53:42 piccardi Exp $
+ * $Id: UDP_echo.c,v 1.2 2004/05/02 13:10:32 piccardi Exp $
*
****************************************************************/
/*
printf("Errore in lettura: %s\n", strerror(errno));
return;
}
- if (nread == 0) { /* server closed connection, stop */
- return;
- }
recvbuff[nread] = 0; /* else read is ok, write on stdout */
if (fputs(recvbuff, stdout) == EOF) {
perror("Errore in scrittura su terminale");