Lines Matching refs:wsasock
630 curl_socket_t wsasock; /* internal socket handle (indexed by nws) */ member
643 curl_socket_t wsasock; in select_ws() local
696 wsasock = (curl_socket_t)fd; in select_ws()
704 if(FD_ISSET(wsasock, readfds)) { in select_ws()
705 FD_SET(wsasock, &readsock); in select_ws()
709 if(FD_ISSET(wsasock, writefds)) { in select_ws()
710 FD_SET(wsasock, &writesock); in select_ws()
714 if(FD_ISSET(wsasock, exceptfds)) { in select_ws()
715 FD_SET(wsasock, &exceptsock); in select_ws()
751 send(wsasock, NULL, 0, 0); /* reset FD_WRITE */ in select_ws()
753 error = WSAEventSelect(wsasock, wsaevent, wsaevents.lNetworkEvents); in select_ws()
756 data[nws].wsasock = wsasock; in select_ws()
765 if(FD_ISSET(wsasock, &readsock)) in select_ws()
767 if(FD_ISSET(wsasock, &writesock)) in select_ws()
769 if(FD_ISSET(wsasock, &exceptsock)) in select_ws()
779 handle = (HANDLE)wsasock; in select_ws()
823 wsasock = (curl_socket_t)fd; in select_ws()
831 FD_CLR(wsasock, writefds); in select_ws()
832 FD_CLR(wsasock, exceptfds); in select_ws()
836 FD_CLR(wsasock, readfds); in select_ws()
837 FD_CLR(wsasock, exceptfds); in select_ws()
842 error = WSAEnumNetworkEvents(wsasock, handle, &wsaevents); in select_ws()
849 FD_CLR(wsasock, readfds); in select_ws()
853 FD_CLR(wsasock, writefds); in select_ws()
857 FD_CLR(wsasock, exceptfds); in select_ws()
862 if(FD_ISSET(wsasock, readfds) || FD_ISSET(wsasock, writefds) || in select_ws()
863 FD_ISSET(wsasock, exceptfds)) { in select_ws()
869 FD_CLR(wsasock, readfds); in select_ws()
870 FD_CLR(wsasock, writefds); in select_ws()
871 FD_CLR(wsasock, exceptfds); in select_ws()
885 WSAEventSelect(data[i].wsasock, NULL, 0); in select_ws()