mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-19 11:48:21 +01:00
LuaSocket 1.5 (4.1w3)
This commit is contained in:
parent
cbffc42f29
commit
c27087ca95
@ -1,24 +1,17 @@
|
|||||||
/*=========================================================================*\
|
/*=========================================================================*\
|
||||||
* TCP/IP support for LUA
|
* Networking support for the Lua language
|
||||||
* Diego Nehab
|
* Diego Nehab
|
||||||
* 9/11/1999
|
* 9/11/1999
|
||||||
|
*
|
||||||
|
* RCS ID: $Id$
|
||||||
\*=========================================================================*/
|
\*=========================================================================*/
|
||||||
|
|
||||||
#ifndef _LUASOCKET_H_
|
#ifndef _LUASOCKET_H_
|
||||||
#define _LUASOCKET_H_
|
#define _LUASOCKET_H_
|
||||||
|
|
||||||
/* Current luasocket version */
|
|
||||||
#define LUASOCKET_VERSION "LuaSocket 1.4"
|
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*\
|
/*-------------------------------------------------------------------------*\
|
||||||
* These can be changed to according to the applications' needs.
|
* Current luasocket version
|
||||||
\*-------------------------------------------------------------------------*/
|
\*-------------------------------------------------------------------------*/
|
||||||
/* TCP input buffer size */
|
#define LUASOCKET_VERSION "LuaSocket 1.5"
|
||||||
#define LUASOCKET_TCPBUFFERSIZE 8192
|
|
||||||
|
|
||||||
/* The largest datagram handled by LuaSocket */
|
|
||||||
#define LUASOCKET_UDPBUFFERSIZE 4096
|
|
||||||
/* note that 576 bytes is the maximum safe value */
|
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*\
|
/*-------------------------------------------------------------------------*\
|
||||||
* This macro prefixes all exported API functions
|
* This macro prefixes all exported API functions
|
||||||
@ -28,8 +21,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*\
|
/*-------------------------------------------------------------------------*\
|
||||||
* Initializes the library interface with Lua and the socket library.
|
* Initializes the library.
|
||||||
* Defines the symbols exported to Lua.
|
|
||||||
\*-------------------------------------------------------------------------*/
|
\*-------------------------------------------------------------------------*/
|
||||||
LUASOCKET_API int lua_socketlibopen(lua_State *L);
|
LUASOCKET_API int lua_socketlibopen(lua_State *L);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user