Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
altcp_priv.h 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_alloc (void) |
For altcp layer implementations only: allocate a new struct altcp_pcb from the pool and zero the memory. | |
void | altcp_free (struct altcp_pcb *conn) |
For altcp layer implementations only: return a struct altcp_pcb to the pool. |
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).
Definition in file altcp_priv.h.
Function Documentation
struct altcp_pcb* altcp_alloc | ( | void | ) | [read] |
For altcp layer implementations only: allocate a new struct altcp_pcb from the pool and zero the memory.
Definition at line 136 of file lwip_altcp.c.
void altcp_free | ( | struct altcp_pcb * | conn ) |
For altcp layer implementations only: return a struct altcp_pcb to the pool.
Definition at line 149 of file lwip_altcp.c.
Generated on Tue Jul 12 2022 13:55:05 by
