Open Username-Username007 opened 1 year ago
Is there any progress to this issue? I still cannot use it on Windows
May I make a pull request according to your advice and make it fit to MSVC?
May I make a pull request according to your advice and make it fit to MSVC?
Sorry, I don't have it now. I remember the effect is not good, so I just abandoned it. My recommendation is, if you can't use it, don't use it.
poll.h and unistd.h is for Unix-like systems and not available on Windows. If you are using VS2019 on windows, you can modify utlis.h: change #include into #include
change #include into #include
change poll into WSAPoll Since WSAPoll's binary lib is in ws2_32.lib, you'll have to add:
pragma comment(lib, "ws2_32.lib")
to utlis.h file my ws2_32.lib is located in "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64\WS2_32.Lib" (I'm using x64, select your own architecture)