aboutsummaryrefslogtreecommitdiff
path: root/src/lua/net/luaopen_net.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-28 10:23:36 +0800
committerchai <chaifix@163.com>2018-07-28 10:23:36 +0800
commit654a75401775d74f95f3d98611e333bb5641ee9b (patch)
treeee73025f6def4b62102ee0f2566ff205f167e20a /src/lua/net/luaopen_net.cpp
parent61301a96d309fe2deef0d0dc2e2bc2f3d4003bf9 (diff)
*update
Diffstat (limited to 'src/lua/net/luaopen_net.cpp')
-rw-r--r--src/lua/net/luaopen_net.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/lua/net/luaopen_net.cpp b/src/lua/net/luaopen_net.cpp
index 821f273..633ccdd 100644
--- a/src/lua/net/luaopen_net.cpp
+++ b/src/lua/net/luaopen_net.cpp
@@ -2,6 +2,7 @@
* Notice: the net module is not finished yet.
*/
#include "lua/luax.h"
+/*
#include "3rdparty/tekcos/tekcos.h"
namespace jin
@@ -13,14 +14,13 @@ namespace lua
tk_TCPsocket* sk;
}context;
- /**
- * A table is needed. For example:
- * local conf = {
- * mode = "server",
- * ip = "",
- * port = 8000
- * }
- */
+ //* A table is needed. For example:
+ //* local conf = {
+ //* mode = "server",
+ //* ip = "",
+ //* port = 8000
+ //* }
+
static int l_open(lua_State* L)
{
// init context.sk
@@ -106,5 +106,7 @@ namespace lua
return 1;
}
+
+}
}
-} \ No newline at end of file
+*/ \ No newline at end of file