Input seems to wait until output happens before it appears. I don't know if this is just a simple matter of a missing fflush or if I'm doing something fundamentally wrong with the way I'm using files.
I should probably be using the non-f* versions of the file I/O methods, but I'm going to need to add boost::asio for the httpd stuff anyway, so may as well do it now and just use its async i/o stuff for the device file.
Input seems to wait until output happens before it appears. I don't know if this is just a simple matter of a missing
fflush
or if I'm doing something fundamentally wrong with the way I'm using files. I should probably be using the non-f* versions of the file I/O methods, but I'm going to need to addboost::asio
for the httpd stuff anyway, so may as well do it now and just use its async i/o stuff for the device file.