[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #10370] Raw API: Callback for received FIN to confirm
From: |
Iordan Neshev |
Subject: |
[lwip-devel] [task #10370] Raw API: Callback for received FIN to confirm connection is closed |
Date: |
Tue, 11 May 2010 09:15:49 +0000 |
User-agent: |
Opera/9.80 (Windows NT 5.1; U; en) Presto/2.2.15 Version/10.00 |
Follow-up Comment #1, task #10370 (project lwip):
Seems like replacing the old tcp_close() with
err = tcp_shutdown(&my_pcb, FALSE, TRUE);
// shut_rx= FALSE - do not close RX, we need to get the peer's FIN;
// shut_tx = TRUE - we will not send data any more
does exactly what I wanted.
If this is the right way to do it, please close this task and sorry for the
noise. A note in rawapi.txt about this might be useful.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?10370>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/