Rij wrote:

> getsockopt fails with the message: "Invalid argument" which is EINVAL.

Which means that one of the arguments is invalid.

> next. What argument is invalid? The only thing that I am suspicious
> about is the socket descriptor. Is it ok? optval and optlen are both
> int.

Did you set 'optlen' to the correct value? I'm guessing you didn't.
 
DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to