This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]