NAME getsockopt, setsockopt - get and set options on sockets LIBRARY Standard C library ( libc ... SYNOPSIS #include <sys/socket.h> int getsockopt(int sockfd , int level , int optn…NAME getsockopt, setsockopt - get and set options on sockets LIBRARY Standard C library ( libc ... SYNOPSIS #include <sys/socket.h> int getsockopt(int sockfd , int level , int optn…shutdown (2) SYS_SETSOCKOPT setsockopt (2) SYS_GETSOCKOPT getsockopt (2) SYS_SENDMSG sendmsg ... connect (2), getpeername (2), getsockname (2), getsockopt (2), listen (2), recv (2)…sys/socket.h> . The functions setsockopt (2) and getsockopt (2) are used to set and get options ... fcntl (2), getpeername (2), getsockname (2), getsockopt (2), ioctl (2), listen (…getaddrinfo (3). SEE ALSO fcntl (2), getsockopt (2), recv (2), select (2), sendfile (2), sendmmsggetaddrinfo (3). SEE ALSO fcntl (2), getsockopt (2), recv (2), select (2), sendfile (2), sendmmsggetaddrinfo (3). SEE ALSO fcntl (2), getsockopt (2), recv (2), select (2), sendfile (2), sendmmsggetaddrinfo (3). SEE ALSO fcntl (2), getsockopt (2), read (2), recvmmsg (2), select (2), shutdowngetaddrinfo (3). SEE ALSO fcntl (2), getsockopt (2), read (2), recvmmsg (2), select (2), shutdowngetaddrinfo (3). SEE ALSO fcntl (2), getsockopt (2), read (2), recvmmsg (2), select (2), shutdownwriting. After select (2) indicates writability, use getsockopt (2) to read the SO_ERROR optionnotes on socketcall (2) getsockopt (2) 2.0 See notes on socketcall (2) gettid