This is a helper function for setsockopt().
0 on success, -1 on failure and errno is set.
MongoDB, Inc
2017-present, MongoDB, Inc