X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/55b561cd6f62870d48e715a653fa7230da9fd25a..acbc8f35e5a8520356ce5a527971e6685a4e5793:/src/gras/Transport/transport_private.h diff --git a/src/gras/Transport/transport_private.h b/src/gras/Transport/transport_private.h index e3d06918b7..88357d6d09 100644 --- a/src/gras/Transport/transport_private.h +++ b/src/gras/Transport/transport_private.h @@ -40,6 +40,7 @@ typedef struct s_gras_socket { int outgoing :1; /* true if we can write on this sock */ int accepting :1; /* true if master incoming sock in tcp */ int meas :1; /* true if this is an experiment socket instead of messaging */ + int recv_ok :1; /* true if it is valid to recv() on the socket (false if it is a file) */ unsigned long int buf_size; /* what to say to the OS. field here to remember it when accepting */ @@ -47,6 +48,7 @@ typedef struct s_gras_socket { int port; /* port on this side */ int peer_port; /* port on the other side */ char *peer_name; /* hostname of the other side */ + char *peer_proc; /* process on the other side */ void *data; /* plugin specific data */