- Timestamp:
- Jul 3, 2001, 4:47:08 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ws2_32/socket.cpp
r5751 r6154 98 98 99 99 /*********************************************************************** 100 * WSAEventSelect 100 * WSAEventSelect (WS2_32.39) 101 101 */ 102 102 int WINAPI WSAEventSelect(SOCKET s, WSAEVENT hEvent, LONG lEvent) 103 103 { 104 TRACE("WSAEventSelect %08x, hEvent %08x, event %08x\n", s, hEvent, (unsigned)lEvent ); 104 TRACE("WS2_32: WSAEventSelect %08x, hEvent %08x, event %08x\n", s, hEvent, (unsigned)lEvent ); 105 #ifdef DEBUG 106 // log all event event bits set 107 char tmpbuf[300]; 108 strcpy(tmpbuf, ""); 109 if (lEvent | FD_READ) 110 strcat(tmpbuf, " FD_READ"); 111 if (lEvent | FD_WRITE) 112 strcat(tmpbuf, " FD_WRITE"); 113 if (lEvent | FD_OOB) 114 strcat(tmpbuf, " FD_OOB"); 115 if (lEvent | FD_ACCEPT) 116 strcat(tmpbuf, " FD_ACCEPT"); 117 if (lEvent | FD_CONNECT) 118 strcat(tmpbuf, " FD_CONNECT"); 119 if (lEvent | FD_CLOSE) 120 strcat(tmpbuf, " FD_CLOSE"); 121 if (lEvent | FD_QOS) 122 strcat(tmpbuf, " FD_QOS"); 123 if (lEvent | FD_GROUP_QOS) 124 strcat(tmpbuf, " FD_GROUP_QOS"); 125 if (lEvent | FD_ROUTING_INTERFACE_CHANGE) 126 strcat(tmpbuf, " FD_ROUTING_INTERFACE_CHANGE"); 127 if (lEvent | FD_ADDRESS_LIST_CHANGE) 128 strcat(tmpbuf, " FD_ADDRESS_LIST_CHANGE"); 129 dprintf(("event bits:%s", tmpbuf)); 130 #endif 105 131 SetLastError(WSAEINVAL); 106 132 return SOCKET_ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.