A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt to recent changes in transport layer
[simgrid.git]
/
testsuite
/
gras
/
trp_tcp_client.c
diff --git
a/testsuite/gras/trp_tcp_client.c
b/testsuite/gras/trp_tcp_client.c
index
98ab372
..
bb58f8f
100644
(file)
--- a/
testsuite/gras/trp_tcp_client.c
+++ b/
testsuite/gras/trp_tcp_client.c
@@
-28,10
+28,10
@@
int main(int argc,char *argv[]) {
sprintf(data_send,"Hello, I am a little test data to send.");
fprintf(stderr,"===[CLIENT]=== Send data\n");
sprintf(data_send,"Hello, I am a little test data to send.");
fprintf(stderr,"===[CLIENT]=== Send data\n");
- gras_trp_
chunk_send(sock,data_send, sizeof(data_send)
);
+ gras_trp_
send(sock,data_send, sizeof(data_send),1
);
gras_trp_flush(sock);
fprintf(stderr,"===[CLIENT]=== Waiting for the ACK\n");
gras_trp_flush(sock);
fprintf(stderr,"===[CLIENT]=== Waiting for the ACK\n");
- gras_trp_
chunk_
recv(sock,data_recv, sizeof(data_recv));
+ gras_trp_recv(sock,data_recv, sizeof(data_recv));
if (strcmp(data_send, data_recv)) {
fprintf(stderr, "===[CLIENT]=== String sent != string received\n");
if (strcmp(data_send, data_recv)) {
fprintf(stderr, "===[CLIENT]=== String sent != string received\n");