Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Time for CLOSE_WAIT state

2 views
Skip to first unread message

arnab

unread,
Sep 9, 2008, 9:12:48 AM9/9/08
to
Hi All,
Which is the corresponding parameter for which time of CLOSE_WAIT
state can be controlled?
Thanks in advance.
-A

Casper H.S. Dik

unread,
Sep 10, 2008, 7:28:44 AM9/10/08
to
arnab <agang...@gmail.com> writes:

>Hi All,
>Which is the corresponding parameter for which time of CLOSE_WAIT
>state can be controlled?

Yes, it's controlled by calling close() for the descriptor..

I.e., CLOSE_WAIT is typically a programming error.

Casper

Barry Margolin

unread,
Sep 10, 2008, 11:51:11 PM9/10/08
to
In article
<f2e1015f-b372-4649...@k30g2000hse.googlegroups.com>,
arnab <agang...@gmail.com> wrote:

There's no time limit for CLOSE_WAIT. You may be confusing it with
TIME_WAIT, which is a temporary state. CLOSE_WAIT waits until the
socket is closed.

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

0 new messages