-/* $Id$ */
-
/* transport - low level communication (send/receive bunches of bytes) */
/* module's private interface masked even to other parts of GRAS. */
-/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
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 */
gras_socket_t gras_trp_buf_init_sock(gras_socket_t sock);
-#endif /* GRAS_TRP_PRIVATE_H */
+#endif /* GRAS_TRP_PRIVATE_H */