/*
- * Transfer data over the net.
+ * net engine
+ *
+ * IO engine that reads/writes to/from sockets.
+ *
*/
#include <stdio.h>
#include <stdlib.h>
struct pollfd pfd;
int ret;
- fprintf(f_out, "fio: waiting for connection\n");
+ log_info("fio: waiting for connection\n");
/*
* Accept loop. poll for incoming events, accept them. Repeat until we
strcpy(buf, td->filename);
- sep = strchr(buf, ':');
+ sep = strchr(buf, '/');
if (!sep) {
- log_err("fio: bad network host:port <<%s>>\n", td->filename);
+ log_err("fio: bad network host/port <<%s>>\n", td->filename);
return 1;
}