|
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 2.0.0.22 (Windows/20090605) |
Hi, 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?
TIA Gustl
[Prev in Thread] | Current Thread | [Next in Thread] |