Lines Matching refs:wsasock
628 curl_socket_t wsasock; /* internal socket handle (indexed by nws) */ member
641 curl_socket_t wsasock; in select_ws() local
694 wsasock = (curl_socket_t)fd; in select_ws()
702 if(FD_ISSET(wsasock, readfds)) { in select_ws()
703 FD_SET(wsasock, &readsock); in select_ws()
707 if(FD_ISSET(wsasock, writefds)) { in select_ws()
708 FD_SET(wsasock, &writesock); in select_ws()
712 if(FD_ISSET(wsasock, exceptfds)) { in select_ws()
713 FD_SET(wsasock, &exceptsock); in select_ws()
749 send(wsasock, NULL, 0, 0); /* reset FD_WRITE */ in select_ws()
751 error = WSAEventSelect(wsasock, wsaevent, wsaevents.lNetworkEvents); in select_ws()
754 data[nws].wsasock = wsasock; in select_ws()
763 if(FD_ISSET(wsasock, &readsock)) in select_ws()
765 if(FD_ISSET(wsasock, &writesock)) in select_ws()
767 if(FD_ISSET(wsasock, &exceptsock)) in select_ws()
777 handle = (HANDLE)wsasock; in select_ws()
821 wsasock = (curl_socket_t)fd; in select_ws()
829 FD_CLR(wsasock, writefds); in select_ws()
830 FD_CLR(wsasock, exceptfds); in select_ws()
834 FD_CLR(wsasock, readfds); in select_ws()
835 FD_CLR(wsasock, exceptfds); in select_ws()
840 error = WSAEnumNetworkEvents(wsasock, handle, &wsaevents); in select_ws()
847 FD_CLR(wsasock, readfds); in select_ws()
851 FD_CLR(wsasock, writefds); in select_ws()
855 FD_CLR(wsasock, exceptfds); in select_ws()
860 if(FD_ISSET(wsasock, readfds) || FD_ISSET(wsasock, writefds) || in select_ws()
861 FD_ISSET(wsasock, exceptfds)) { in select_ws()
867 FD_CLR(wsasock, readfds); in select_ws()
868 FD_CLR(wsasock, writefds); in select_ws()
869 FD_CLR(wsasock, exceptfds); in select_ws()
883 WSAEventSelect(data[i].wsasock, NULL, 0); in select_ws()