comparison src/wsocket.h @ 0:4b915342e2a8

LuaSocket 2.0.2 + CMake build description.
author Eric Wing <ewing . public |-at-| gmail . com>
date Tue, 26 Aug 2008 18:40:01 -0700
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4b915342e2a8
1 #ifndef WSOCKET_H
2 #define WSOCKET_H
3 /*=========================================================================*\
4 * Socket compatibilization module for Win32
5 * LuaSocket toolkit
6 *
7 * RCS ID: $Id: wsocket.h,v 1.4 2005/10/07 04:40:59 diego Exp $
8 \*=========================================================================*/
9
10 /*=========================================================================*\
11 * WinSock include files
12 \*=========================================================================*/
13 #include <winsock.h>
14
15 typedef int socklen_t;
16 typedef SOCKET t_socket;
17 typedef t_socket *p_socket;
18
19 #define SOCKET_INVALID (INVALID_SOCKET)
20
21 #endif /* WSOCKET_H */