gras_socket_t gras_trp_select(double timeout) {
gras_socket_t res;
- gras_trp_procdata_t pd=(gras_trp_procdata_t)gras_libdata_get("gras_trp");
+ gras_trp_procdata_t pd=(gras_trp_procdata_t)gras_libdata_by_id(gras_trp_libdata_id);
gras_trp_sg_sock_data_t *sockdata;
gras_trp_plugin_t trp;
/* Socket to expeditor not created yet */
DEBUG0("Create a socket to the expeditor");
- trp = gras_trp_plugin_get_by_name("buf");
+ trp = gras_trp_plugin_get_by_name("sg");
gras_trp_socket_new(1,&res);
res->plugin = trp;
void gras_trp_tcp_setup(gras_trp_plugin_t plug) { THROW0(mismatch_error,0,NULL); }
void gras_trp_file_setup(gras_trp_plugin_t plug){ THROW0(mismatch_error,0,NULL); }
-void gras_trp_buf_setup(gras_trp_plugin_t plug) { THROW0(mismatch_error,0,NULL); }
void gras_trp_iov_setup(gras_trp_plugin_t plug) { THROW0(mismatch_error,0,NULL); }
gras_socket_t gras_trp_buf_init_sock(gras_socket_t sock) { return sock;}