From 27ece5603fc0cde89183ceb61f915fa64fef1061 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 29 Jul 2020 12:18:10 -0400 Subject: Added recv_any() recv_any() is a function that takes multiple sockets and waits for one or more of them to receive. See the unit test for examples. --- src/lua-nng-common.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/lua-nng-common.h (limited to 'src/lua-nng-common.h') diff --git a/src/lua-nng-common.h b/src/lua-nng-common.h new file mode 100644 index 0000000..a56dd8a --- /dev/null +++ b/src/lua-nng-common.h @@ -0,0 +1,6 @@ +#include +#include +#include + +// lua runtime's traceback function +int traceback (lua_State *L); -- cgit v1.2.3-70-g09d2