diff options
Diffstat (limited to 'src/lua/net/luaopen_net.cpp')
-rw-r--r-- | src/lua/net/luaopen_net.cpp | 20 |
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 |