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 */