Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

lwip_altcp_alloc.c File Reference

lwip_altcp_alloc.c File Reference

Application layered TCP connection API (to be used from TCPIP thread)
This interface mimics the tcp callback API to the application while preventing direct linking (much like virtual functions). More...

Go to the source code of this file.

Functions

struct altcp_pcb * altcp_tls_new (struct altcp_tls_config *config, u8_t ip_type)
 This standard allocator function creates an altcp pcb for TLS over TCP.
struct altcp_pcb * altcp_tls_alloc (void *arg, u8_t ip_type)
 This standard allocator function creates an altcp pcb for TLS over TCP.

Detailed Description

Application layered TCP connection API (to be used from TCPIP thread)
This interface mimics the tcp callback API to the application while preventing direct linking (much like virtual functions).

This way, an application can make use of other application layer protocols on top of TCP without knowing the details (e.g. TLS, proxy connection).

This file contains allocation implementation that combine several layers.

Definition in file lwip_altcp_alloc.c.