I can happily create a SSL client connection with wip_SSLClientCreateOpts and connect to my server, however when I add the WIP_COPT_KEEPALIVE,1 in the following construct format then the command errors and doesn’t create the connection. Does anyone know if KeepAlive is a valid option with SSLClientCreateOpts?
This works fine;
wipChannel = wip_SSLClientCreateOpts ( PeerStrAddr,
ipeerPort,
evh_channel,
NULL,
WIP_COPT_SESSION,
reusableSession,
WIP_COPT_END );
This errors;
wipChannel = wip_SSLClientCreateOpts ( PeerStrAddr,
ipeerPort,
evh_channel,
NULL,
WIP_COPT_KEEPALIVE,
1,
WIP_COPT_SESSION,
reusableSession,
WIP_COPT_END );