Add more TCP socket options

This commit is contained in:
Jeremy Soller
2024-02-02 15:31:08 -07:00
parent 9b2b9e6c26
commit 47ac9e2d0b
+4
View File
@@ -1,3 +1,7 @@
use crate::platform::types::*;
pub const TCP_NODELAY: c_int = 1;
pub const TCP_MAXSEG: c_int = 2;
pub const TCP_KEEPIDLE: c_int = 4;
pub const TCP_KEEPINTVL: c_int = 5;
pub const TCP_KEEPCNT: c_int = 6;