General information
Title:
FREAD function for named pipe freezes when nothing is read
Hello
I'm making a mechanism for reading/writing to a named pipe using low level function FOPEN, FWRITE and FREAD. It worked fine, but FREAD function makes the program to freeze when nothing comes from the named pipe. I could do nothing to stop the reading process. The system gets crashed or I have to force something to be sent. Do you know how can I set a timeout or interrupt the FREAD process?
Thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only