| Line | |
|---|
| 1 | /* $Id: wsock2.cpp,v 1.1 2001-07-07 10:44:10 achimha Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | /*
|
|---|
| 4 | *
|
|---|
| 5 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 6 | *
|
|---|
| 7 | * Winsock 2.0 functions for OS/2
|
|---|
| 8 | *
|
|---|
| 9 | * Copyright (C) 2001 Achim Hasenmueller <achimha@innotek.de>
|
|---|
| 10 | *
|
|---|
| 11 | * Some parts based on Wine code: (dlls\winsock\socket.c)
|
|---|
| 12 | * (C) 1993,1994,1996,1997 John Brezak, Erik Bos, Alex Korobka.
|
|---|
| 13 | *
|
|---|
| 14 | */
|
|---|
| 15 |
|
|---|
| 16 | #include <odin.h>
|
|---|
| 17 | #include <debugtools.h>
|
|---|
| 18 | #include "wsock32.h"
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | /***********************************************************************
|
|---|
| 22 | * WSAEventSelect (WS2_32.39)
|
|---|
| 23 | */
|
|---|
| 24 | int WINAPI WSAEventSelect(SOCKET s, WSAEVENT hEvent, LONG lEvent)
|
|---|
| 25 | {
|
|---|
| 26 | TRACE("WS2_32: WSAEventSelect socket %08x, hEvent %08x, event %08x", s, hEvent, (unsigned)lEvent);
|
|---|
| 27 |
|
|---|
| 28 | // forward call to worker function in HEVENT notification mode
|
|---|
| 29 | return WSAAsyncSelectWorker(s, WSA_SELECT_HEVENT, (int)hEvent, 0, lEvent);
|
|---|
| 30 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.