dtls_close method

int dtls_close(
  1. Pointer<dtls_context_t> ctx,
  2. Pointer<session_t> remote
)

Closes the DTLS connection associated with @p remote. This function returns zero on success, and a value less than zero on error.

Implementation

int dtls_close(
  ffi.Pointer<dtls_context_t> ctx,
  ffi.Pointer<session_t> remote,
) {
  return _dtls_close(
    ctx,
    remote,
  );
}