dtls_connect method
Establishes a DTLS channel with the specified remote peer @p dst. This function returns @c 0 if that channel already exists, 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 remote party to connect to. @return A value less than zero on error, greater or equal otherwise.
Implementation
int dtls_connect(
ffi.Pointer<dtls_context_t> ctx,
ffi.Pointer<session_t> dst,
) {
return _dtls_connect(
ctx,
dst,
);
}