2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
7 #ifndef ___WSA_SOCKET_TYPES_H
8 #define ___WSA_SOCKET_TYPES_H
11 typedef UINT_PTR SOCKET
;
13 typedef INT_PTR SOCKET
;
16 #define INVALID_SOCKET (SOCKET)(~0)
17 #define SOCKET_ERROR (-1)
19 #endif /* ___WSA_SOCKET_TYPES_H */