diff options
| author | Leso_KN <info@lesosoftware.com> | 2023-10-23 20:27:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-23 21:27:01 +0300 |
| commit | f741a88b80ffcf4de65b91ff82fc9f7865cbad0e (patch) | |
| tree | b037761c61edd06602410b2fd6705b1ef3682041 /src/options.h | |
| parent | 9100f7e3abf3511009fa21de1e0b304cac5489d3 (diff) | |
| download | luasocket-f741a88b80ffcf4de65b91ff82fc9f7865cbad0e.tar.gz luasocket-f741a88b80ffcf4de65b91ff82fc9f7865cbad0e.tar.bz2 luasocket-f741a88b80ffcf4de65b91ff82fc9f7865cbad0e.zip | |
feat(tcp): Add 'bindtodevice' option (#408)
Diffstat (limited to 'src/options.h')
| -rw-r--r-- | src/options.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h index 456eeb5..26d6f02 100644 --- a/src/options.h +++ b/src/options.h | |||
| @@ -53,6 +53,9 @@ int opt_get_tcp_keepintvl(lua_State *L, p_socket ps); | |||
| 53 | int opt_set_tcp_defer_accept(lua_State *L, p_socket ps); | 53 | int opt_set_tcp_defer_accept(lua_State *L, p_socket ps); |
| 54 | #endif | 54 | #endif |
| 55 | 55 | ||
| 56 | int opt_set_bindtodevice(lua_State *L, p_socket ps); | ||
| 57 | int opt_get_bindtodevice(lua_State *L, p_socket ps); | ||
| 58 | |||
| 56 | int opt_set_keepalive(lua_State *L, p_socket ps); | 59 | int opt_set_keepalive(lua_State *L, p_socket ps); |
| 57 | int opt_get_keepalive(lua_State *L, p_socket ps); | 60 | int opt_get_keepalive(lua_State *L, p_socket ps); |
| 58 | 61 | ||
