int ret;
do {
- ret = rs_poll(&fds, 1, poll_timeout);
+ ret = rs_poll(fds, 1, poll_timeout);
} while (ret < 0 && (errno == EAGAIN || errno == EWOULDBLOCK));
return ret;
printf("\t a|async - asynchronous operation (use poll)\n");
printf("\t b|blocking - use blocking calls\n");
printf("\t n|nonblocking - use nonblocking calls\n");
- printf("\t p|poll - poll on asynchronous operations\n")
+ printf("\t p|poll - poll on asynchronous operations\n");
printf("\t v|verify - verify data\n");
exit(1);
}
.P
n | nonblocking - uses non-blocking calls
.P
+p | poll - poll on asynchronous operations until complete
+.P
v | verify - verifies data transfers
.SH "NOTES"
Basic usage is to start rstream on a server system, then run