[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tcp_close: pcb->state - WAS: [lwip-users] portscan

From: Bernhard 'Gustl' Bauer
Subject: tcp_close: pcb->state - WAS: [lwip-users] portscan
Date: Wed, 01 Jul 2009 11:40:10 +0200
User-agent: Thunderbird (Windows/20090605)


I finally made some progress in my portscan problem.

When I send out data, I get http_sent() calls. If all data is sent out I call a tcp_close(). Unfortunately pcb->state is either ESTABLISHED or CLOSE_WAIT and neither does free tcp_pcb.

One solution could be to use tcp_abort(). Another to set state to CLOSED or SYN_SENT. How to do it right?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]