views:

27

answers:

0

My Application reads from a Named Pipe and the Problem is, ReadFile returns after the buffer is full or a timeout elaps. I wait for the last bytes to read up to 20 Seconds. Ich have test ist with smaller buffer, but Windows set buffer always to 1020 Bytes. I can't manipulate the Pipe on the other side. The Pipe runs on local Computer. If there any posibillity to read Data earlier (set timeout o.e.)?