gcoap_socket_t Struct Reference

CoAP socket to handle multiple transport types. More...

Detailed Description

CoAP socket to handle multiple transport types.

Definition at line 759 of file gcoap.h.

#include <gcoap.h>

Data Fields

gcoap_socket_type_t type
 Type of stored socket.
 
union {
   sock_udp_t *   udp
 
   sock_dtls_t *   dtls
 
socket
 Stored socket.
 
sock_dtls_session_t ctx_dtls_session
 Session object for the stored socket. More...
 

Field Documentation

◆ ctx_dtls_session

sock_dtls_session_t gcoap_socket_t::ctx_dtls_session

Session object for the stored socket.

Used for exchanging a session between functions.

Definition at line 768 of file gcoap.h.


The documentation for this struct was generated from the following file: