Function

Dexdtls_connection_shutdown

unstable since: 1.2

Declaration [src]

DexFuture*
dex_dtls_connection_shutdown (
  GDtlsConnection* dtls_connection,
  gboolean shutdown_read,
  gboolean shutdown_write,
  int io_priority
)

Description [src]

Available since: 1.2

Parameters

dtls_connection

Type: GDtlsConnection

A GDtlsConnection.

The data is owned by the caller of the function.
shutdown_read

Type: gboolean

Whether to shut down the read side.

shutdown_write

Type: gboolean

Whether to shut down the write side.

io_priority

Type: int

Priority for the IO operation.

Return value

Type: DexFuture

A DexFuture that resolves to TRUE or rejects with error.

The caller of the function takes ownership of the data, and is responsible for freeing it.