feat(tcp): Add 'bindtodevice' option (#408)

This commit is contained in:
Leso_KN
2023-10-23 20:27:01 +02:00
committed by GitHub
parent 9100f7e3ab
commit f741a88b80
3 changed files with 32 additions and 0 deletions

View File

@ -53,6 +53,9 @@ int opt_get_tcp_keepintvl(lua_State *L, p_socket ps);
int opt_set_tcp_defer_accept(lua_State *L, p_socket ps);
#endif
int opt_set_bindtodevice(lua_State *L, p_socket ps);
int opt_get_bindtodevice(lua_State *L, p_socket ps);
int opt_set_keepalive(lua_State *L, p_socket ps);
int opt_get_keepalive(lua_State *L, p_socket ps);