2003-06-26 20:47:49 +02:00
|
|
|
#ifndef WSOCKET_H
|
|
|
|
#define WSOCKET_H
|
2003-06-11 03:42:18 +02:00
|
|
|
/*=========================================================================*\
|
|
|
|
* Socket compatibilization module for Win32
|
2003-06-26 20:47:49 +02:00
|
|
|
* LuaSocket toolkit
|
2003-06-11 03:42:18 +02:00
|
|
|
*
|
|
|
|
* RCS ID: $Id$
|
|
|
|
\*=========================================================================*/
|
|
|
|
|
|
|
|
/*=========================================================================*\
|
2003-06-26 20:47:49 +02:00
|
|
|
* WinSock include files
|
2003-06-11 03:42:18 +02:00
|
|
|
\*=========================================================================*/
|
2003-06-26 20:47:49 +02:00
|
|
|
#include <winsock.h>
|
2003-06-11 03:42:18 +02:00
|
|
|
|
|
|
|
typedef int socklen_t;
|
|
|
|
typedef SOCKET t_sock;
|
|
|
|
typedef t_sock *p_sock;
|
|
|
|
|
|
|
|
#define SOCK_INVALID (INVALID_SOCKET)
|
|
|
|
|
|
|
|
#endif /* WSOCKET_H */
|