tcp_new()

Name

tcp_new() -- Create a new TCP PCB

Synopsis

struct tcp_pcb *tcp_new(void);

Description

Creates a new TCP connection identifier (PCB).

Return value

Returns the new PCB. If memory is not available for creating the new PCB, NULL is returned.