lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] problem closing a stream


From: address@hidden
Subject: Re: [lwip-users] problem closing a stream
Date: Fri, 16 Mar 2012 17:50:22 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120313 Thunderbird/11.0

trex7 wrote:
When I call tcp_close() lwip sends fin and the servers ack it. But the
server never sends fin and continues sending data.

TCP provides full duplex connections: the fact that you close your side of the connection doesn't necessarily mean the server also has to close the connection. The procedure of when which side is closed has to be defined by the application protocol using TCP, i.e. the streaming protocol in your case.

Simon



reply via email to

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