Added proper termination after user pressed CTRL+D, call to mic_tcp_close
Questo commit è contenuto in:
parent
dc7fb0af27
commit
9cf49fe991
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
|
@ -42,5 +42,7 @@ int main()
|
||||||
printf("[TSOCK] Appel de mic_send valeur de retour : %d\n", sent_size);
|
printf("[TSOCK] Appel de mic_send valeur de retour : %d\n", sent_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mic_tcp_close(sockfd);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Caricamento…
Crea riferimento in una nuova segnalazione