X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ef31c793f419af21bc43a6169b1264d7c6610069..e9b51d0f6749b70f9f4b3637f38d8b46d684a53d:/testsuite/gras/trp_tcp_client.c diff --git a/testsuite/gras/trp_tcp_client.c b/testsuite/gras/trp_tcp_client.c index a62dbd65c4..fa6a09b59d 100644 --- a/testsuite/gras/trp_tcp_client.c +++ b/testsuite/gras/trp_tcp_client.c @@ -31,6 +31,7 @@ int main(int argc,char *argv[]) { sprintf(data_send,"Hello, I am a little test data to send."); fprintf(stderr,"===[CLIENT]=== Send data\n"); TRYFAIL(gras_trp_chunk_send(sock,data_send, sizeof(data_send))); + TRYFAIL(gras_trp_flush(sock)); fprintf(stderr,"===[CLIENT]=== Waiting for the ACK\n"); TRYFAIL(gras_trp_chunk_recv(sock,data_recv, sizeof(data_recv)));