[ECOS] Re: __tcp_close() can't close connection in Redboot

Grant Edwards grante@visi.com
Wed Oct 12 12:53:00 GMT 2005


In gmane.os.ecos.general, you wrote:

>   I am trying to build up httpd service in RedBoot.
> And I met problem that I can't close connection by
> calling __tcp_close() after replying data to
> client,and the httpd sock state is always TIME_WAIT.

Right. 

After you close a tcp connection (you send a FIN packet and
receive a FIN back) the state is _supposed_ to be TIME_WAIT.

http://tangentsoft.net/wskfaq/articles/debugging-tcp.html

-- 
Grant Edwards                   grante             Yow!  Mr and Mrs PED, can
                                  at               I borrow 26.7
                               visi.com            

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list