lwIP
2.1.0
Lightweight IP stack
|
Functions | |
struct altcp_pcb * | altcp_alloc (void) |
void | altcp_free (struct altcp_pcb *conn) |
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).
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