[−][src]Function linux::syscall::setsockopt
pub fn setsockopt(
sockfd: c_int,
level: c_int,
optname: c_int,
optval: &[d8]
) -> c_int
Sets a socket option.
[argument, sockfd] The socket.
[argument, level] The level of the option.
[argument, optname] The name of the option.
[argument, optval] The value to set.
[return_value] Returns success or an error value.
= See also
- link:man:setsockopt(2)