Last change
on this file since 1194 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
810 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
3 | * This file is part of the mingw-w64 runtime package.
|
---|
4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef __MINGW_WSADATA_H
|
---|
8 | #define __MINGW_WSADATA_H
|
---|
9 |
|
---|
10 | #define WSADESCRIPTION_LEN 256
|
---|
11 | #define WSASYS_STATUS_LEN 128
|
---|
12 |
|
---|
13 | typedef struct WSAData {
|
---|
14 | WORD wVersion;
|
---|
15 | WORD wHighVersion;
|
---|
16 | #ifdef _WIN64
|
---|
17 | unsigned short iMaxSockets;
|
---|
18 | unsigned short iMaxUdpDg;
|
---|
19 | char *lpVendorInfo;
|
---|
20 | char szDescription[WSADESCRIPTION_LEN+1];
|
---|
21 | char szSystemStatus[WSASYS_STATUS_LEN+1];
|
---|
22 | #else
|
---|
23 | char szDescription[WSADESCRIPTION_LEN+1];
|
---|
24 | char szSystemStatus[WSASYS_STATUS_LEN+1];
|
---|
25 | unsigned short iMaxSockets;
|
---|
26 | unsigned short iMaxUdpDg;
|
---|
27 | char *lpVendorInfo;
|
---|
28 | #endif
|
---|
29 | } WSADATA, *LPWSADATA;
|
---|
30 |
|
---|
31 | #endif /* __MINGW_WSADATA_H */
|
---|
32 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.