Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: fix comment.
[simgrid.git] / src / gras / Transport / transport_private.h
index d886c04..c74efd5 100644 (file)
@@ -70,14 +70,12 @@ typedef struct s_gras_socket {
   int recvd:1;                  /* true if the recvd_val field contains one byte of the stream (that we peek'ed to check the socket validity) */
   char recvd_val;               /* what we peeked from the socket, if any */
 
+  int refcount;                 /* refcounting on shared sockets */
+
   unsigned long int buf_size;   /* what to say to the OS. 
                                    Field here to remember it when accepting */
 
   int sd;
-  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 */