From 654a75401775d74f95f3d98611e333bb5641ee9b Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 28 Jul 2018 10:23:36 +0800 Subject: *update --- src/lua/net/luaopen_net.cpp | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/lua/net/luaopen_net.cpp') 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 -- cgit v1.1-26-g67d0