LaKabane/libtuntap

it don't work in my win10

ririyeye opened this issue · 0 comments

when i call readfile and writefile, the error code say a parameter err
according to win doc , if i open file with FILE_FLAG_OVERLAPPED , the readfile and writefile is async function and you must input a OVERLAPPED struct otherwise something error occured
and what's more , when i delete FILE_FLAG_OVERLAPPED , is seemed to be a mutex lock between readfile and writefile
if i call readfile first it will stuck read , will it's right if no net package was received, but the writefile thread is also stuck . only after readfile get a package , the writefile wake up and send a package