HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SYS_Socket.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: SYS_Socket.h (SYS Library, C++)
7  *
8  * COMMENTS: Platform-independent header for socket related functionality.
9  * Only include this in .C files since it pulls in <windows.h> !
10  */
11 
12 #ifndef __SYS_SOCKET_H_INCLUDED__
13 #define __SYS_SOCKET_H_INCLUDED__
14 
15 #include "SYS_API.h"
16 
17 #ifdef _WIN32
18 #include <winsock2.h>
19 #else
20 #include <sys/select.h>
21 #include <sys/socket.h>
22 #endif
23 
24 #endif // __SYS_SOCKET_H_INCLUDED__