mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-09-17 12:44:31 +08:00
works under mingw, but not finish yet
This commit is contained in:
@@ -2473,7 +2473,7 @@ evpipe_write (EV_P_ EV_ATOMIC_T *flag)
|
||||
#ifdef _WIN32
|
||||
WSABUF buf;
|
||||
DWORD sent;
|
||||
buf.buf = &buf;
|
||||
buf.buf = (char*)&buf;
|
||||
buf.len = 1;
|
||||
WSASend (EV_FD_TO_WIN32_HANDLE (evpipe [1]), &buf, 1, &sent, 0, 0, 0);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user