Hi All! I'm trying to use the openvpn tap device on win32 (latest beta11, selfbuilt) I'm opening with CreateFile and reading from the device with ReadFile. Everything works fine in tap mode, but in tun mode i have problems, therefore i wish to see the debug info from the tap-driver. I found that there is an ioctl TAP_IOCTL_GET_LOG_LINE in the driver. I'm using DeviceIoControl calls with the TAP_IOCTL_GET_LOG_LINE param and able to read the debug info, but after a while the normal ReadFile of the tap device fails with the error: A device attached to the system is not functioning. (31) If not using the TAP_IOCTL_GET_LOG_LINE calls the program works fine. Is there any special rule of using TAP_IOCTL_GET_LOG_LINE ioctl calls? What is the best method to read the debug info from the device? Any hints would be greatly welcome! TIA bests Hofi