Loading...
Searching...
No Matches
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.
 

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.

◆ dtls

sock_dtls_t* gcoap_socket_t::dtls

Definition at line 764 of file gcoap.h.

◆ type

gcoap_socket_type_t gcoap_socket_t::type

Type of stored socket.

Definition at line 760 of file gcoap.h.

◆ udp

sock_udp_t* gcoap_socket_t::udp

Definition at line 762 of file gcoap.h.


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