Ignore:
Timestamp:
Jul 7, 2001, 12:44:11 PM (24 years ago)
Author:
achimha
Message:

implemented WSAEventSelect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wsock32/wsock32.h

    r5279 r6196  
    1 /* $Id: wsock32.h,v 1.16 2001-02-28 20:28:09 sandervl Exp $ */
     1/* $Id: wsock32.h,v 1.17 2001-07-07 10:44:11 achimha Exp $ */
    22
    33/* WSOCK32.H--definitions & conversions for Odin's wsock32.dll.
     
    5151
    5252// WSAAsyncSelect flags
    53 #define FD_READ         0x01
    54 #define FD_WRITE        0x02
    55 #define FD_OOB          0x04
    56 #define FD_ACCEPT       0x08
    57 #define FD_CONNECT      0x10
    58 #define FD_CLOSE        0x20
     53// also apply to Winsock 2.0 WSAEventSelect
     54#define FD_READ                     0x01
     55#define FD_WRITE                    0x02
     56#define FD_OOB                      0x04
     57#define FD_ACCEPT                   0x08
     58#define FD_CONNECT                  0x10
     59#define FD_CLOSE                    0x20
     60// Winsock 2.0 only
     61#define FD_QOS                      0x40
     62#define FD_GROUP_QOS                0x80
     63#define FD_ROUTING_INTERFACE_CHANGE 0x100
     64#define FD_ADDRESS_LIST_CHANGE      0x200
    5965
    6066#define SOCKET_ERROR            -1
     
    235241LPWSINFO WINSOCK_GetIData(HANDLE tid = CURRENT_THREAD);
    236242
     243typedef HANDLE WSAEVENT;
     244
     245// modes for the async select worker
     246#define WSA_SELECT_HWND   1
     247#define WSA_SELECT_HEVENT 2
     248// async select worker routine
     249int WSAAsyncSelectWorker(SOCKET s, int mode, int notifyHandle, int notifyData, long lEventMask);
     250
    237251#endif  /* _WINSOCK32CONST_ */
    238252
Note: See TracChangeset for help on using the changeset viewer.