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
- Reput hook for raw sockets, needed for BW experiments
[simgrid.git]
/
src
/
gras
/
Transport
/
transport.c
diff --git
a/src/gras/Transport/transport.c
b/src/gras/Transport/transport.c
index
5970cda
..
07b7b75
100644
(file)
--- a/
src/gras/Transport/transport.c
+++ b/
src/gras/Transport/transport.c
@@
-129,7
+129,7
@@
gras_socket_server(unsigned short port,
sock->port=port;
/* Call plugin socket creation function */
sock->port=port;
/* Call plugin socket creation function */
- errcode = trp->socket_server(trp, port, sock);
+ errcode = trp->socket_server(trp, port,
0/* not raw */,
sock);
if (errcode != no_error) {
free(sock);
return errcode;
if (errcode != no_error) {
free(sock);
return errcode;
@@
-176,6
+176,7
@@
gras_socket_client(const char *host,
/* plugin-specific */
errcode= (* trp->socket_client)(trp,
host ? host : "localhost", port,
/* plugin-specific */
errcode= (* trp->socket_client)(trp,
host ? host : "localhost", port,
+ 0 /* not raw */,
sock);
if (errcode != no_error) {
free(sock);
sock);
if (errcode != no_error) {
free(sock);