On Thu, 2009-09-03 at 11:46 -0400, Bill Auerbach wrote: > >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.
If you tcp_abort() the data PCB that you get once the connection is established it should not affect the listening PCB. If it does, that's a bug. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
