tcp_abort() — Abort the connection
(struct tcp_pcb *pcb
Aborts the connection by sending a RST (reset) segment to the remote
pcb is deallocated. This function never fails.
If a connection is aborted because of an error, the application is
alerted of this event by the callback previously registered with
Errors that might abort a connection are when there is a shortage of
|2020-07-06||LWIP Documentation Notices|