Thread
:
Flushing input stream
View Single Post
#
13
03-29-2012, 20:34
Sergey Nameless
Posts: n/a
It should be possible to change file handler to be non-blocking. Not sure of windows calls, but on *nix this can be done by
flags = fcntl(fd, F_GETFL, 0);
fcntl(fd, F_SETFL, flags | O_NONBLOCK);
The Following User Gave Reputation+1 to For This Useful Post:
|roe
(03-30-2012)
Sergey Nameless