Re: Use poll with Windows socket

2019-08-08 Thread Corinna Vinschen
On Aug 8 02:39, Biswapriyo Nath wrote: > I've tried to use poll() with a Windows socket (from WSASocket) and a > cygwin side file descriptor (fd). But it is only signaled for fd only. > > At first, I have seen that fhandler_socket_wsock::set_socket_handle() casts > SOCKET to int. So, is it possib

Use poll with Windows socket

2019-08-07 Thread Biswapriyo Nath
I've tried to use poll() with a Windows socket (from WSASocket) and a cygwin side file descriptor (fd). But it is only signaled for fd only. At first, I have seen that fhandler_socket_wsock::set_socket_handle() casts SOCKET to int. So, is it possible to use poll() with the SOCKET type? Or Is there