Mike McCormack wrote:
This patch causes a serial port's fd to be put into blocking mode if FILE_FLAG_OVERLAPPED is not specified and non-blocking mode if it is.
ReadFile should block on serial ports for non-overlapped reads. The next step is to refuse overlapped reads and writes if the file isn't opened with FILE_FLAG_OVERLAPPED specified.
hi Mike,
I don't understand why you got read of the inherit flag in the protocol definition for serial handles. Even, if security attribute isn't pass around yet for file/comm port creation, it should be kept for comm port
A+