>tcp_abort() should, I think, release all the pbufs in use by that
>connection.  I guess if you're in the middle of receiving a stream of
>data you might continue to get packets (which will consume pbufs for a
>short while until they are dropped) until the other end spots your reset
>and stops sending to you.

A problem I had with trying to use tcp_abort to do the same thing as the OP
in that the listening pcb stopped listening.  So a reconnect from the peer
was ignored.  I too wanted to abort the connection but not lose the ability
to reconnect to the device.

Bill



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to