git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@359
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
void gras_trp_tcp_socket_close(gras_socket_t *sd);
gras_error_t gras_trp_tcp_chunk_send(gras_socket_t *sd,
void gras_trp_tcp_socket_close(gras_socket_t *sd);
gras_error_t gras_trp_tcp_chunk_send(gras_socket_t *sd,
long int size);
gras_error_t gras_trp_tcp_chunk_recv(gras_socket_t *sd,
long int size);
gras_error_t gras_trp_tcp_chunk_recv(gras_socket_t *sd,
plug->chunk_send = gras_trp_tcp_chunk_send;
plug->chunk_recv = gras_trp_tcp_chunk_recv;
plug->chunk_send = gras_trp_tcp_chunk_send;
plug->chunk_recv = gras_trp_tcp_chunk_recv;
+ plug->flush = NULL; /* nothing's cached */
+
plug->data = (void*)data;
plug->exit = gras_trp_tcp_exit;
plug->data = (void*)data;
plug->exit = gras_trp_tcp_exit;
*/
gras_error_t
gras_trp_tcp_chunk_send(gras_socket_t *sock,
*/
gras_error_t
gras_trp_tcp_chunk_send(gras_socket_t *sock,
long int size) {
/* TCP sockets are in duplex mode, don't check direction */
long int size) {
/* TCP sockets are in duplex mode, don't check direction */