Socket Options – Socket Programming – setsockopt(), getsockopt()
The setsockopt() function provides an application program (user-space) with the means to control socket behavior. You can use setsockopt() to allocate buffer space, control timeouts, permit socket data broadcasts and…