dtls_renegotiate method
Renegotiates a DTLS channel based on the specified session. This function returns a value greater than zero when a new ClientHello message was sent, and a value less than zero on error.
@param ctx The DTLS context to use. @param dst The session object that describes the existing session. @return A value less than zero on error, greater otherwise.
Implementation
int dtls_renegotiate(
ffi.Pointer<dtls_context_t> ctx,
ffi.Pointer<session_t> dst,
) {
return _dtls_renegotiate(
ctx,
dst,
);
}