Handle WakeUp notify by read one byte data.
Definition at line 132 of file EventLoop.cpp.
133 {
134 char one = 1;
136 if (n < 0)
137 {
138 std::stringstream ss;
139 ss << "EventLoop::HandleWakeUp error, Error: " << WSAGetLastError();
140
141 SPICES_CORE_ERROR(ss.str())
142 }
143 }
Socket m_WakeupFd
Wakeup Socket.
const SOCKET Fd() const
Get this socket fd.