mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 04:28:20 +01:00
Runs on Linux.
This commit is contained in:
parent
58096449c6
commit
680473dd32
@ -15,6 +15,14 @@
|
|||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "udp.h"
|
#include "udp.h"
|
||||||
|
|
||||||
|
/* min and max macros */
|
||||||
|
#ifndef MIN
|
||||||
|
#define MIN(x, y) ((x) < (y) ? x : y)
|
||||||
|
#endif
|
||||||
|
#ifndef MAX
|
||||||
|
#define MAX(x, y) ((x) > (y) ? x : y)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*=========================================================================*\
|
/*=========================================================================*\
|
||||||
* Internal function prototypes
|
* Internal function prototypes
|
||||||
\*=========================================================================*/
|
\*=========================================================================*/
|
||||||
|
@ -8,7 +8,7 @@ local qptest = "qptest.bin"
|
|||||||
local eqptest = "qptest.bin2"
|
local eqptest = "qptest.bin2"
|
||||||
local dqptest = "qptest.bin3"
|
local dqptest = "qptest.bin3"
|
||||||
|
|
||||||
local b64test = "luasocket.dylib"
|
local b64test = "luasocket.so"
|
||||||
local eb64test = "b64test.bin"
|
local eb64test = "b64test.bin"
|
||||||
local db64test = "b64test.bin2"
|
local db64test = "b64test.bin2"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
require"socket"
|
socket = require"socket"
|
||||||
|
|
||||||
host = host or "localhost"
|
host = host or "localhost"
|
||||||
port = port or "8080"
|
port = port or "8080"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
require"socket"
|
socket = require"socket"
|
||||||
|
|
||||||
host = host or "localhost"
|
host = host or "localhost"
|
||||||
port = port or "8080"
|
port = port or "8080"
|
||||||
|
Loading…
Reference in New Issue
Block a user