Skip to content

Commit c35cc0a

Browse files
committed
Add additional solarish TCP options
1 parent 727d0ed commit c35cc0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/solarish/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,9 @@ pub const IPV6_LEAVE_GROUP: ::c_int = 10;
13871387

13881388
pub const TCP_NODELAY: ::c_int = 1;
13891389
pub const TCP_KEEPIDLE: ::c_int = 34;
1390+
pub const TCP_KEEPCNT: ::c_int = 35;
1391+
pub const TCP_KEEPINTVL: ::c_int = 36;
1392+
13901393
pub const SOL_SOCKET: ::c_int = 0xffff;
13911394
pub const SO_DEBUG: ::c_int = 0x01;
13921395
pub const SO_ACCEPTCONN: ::c_int = 0x0002;

0 commit comments

Comments
 (0)