Neil W Rickert <rickert+(E-Mail Removed)> wrote:
> (E-Mail Removed) writes:
>>1) Is it normal for a socket to transition from CLOSE_WAIT to TIME_WAIT
>>when the local application clears the CLOSE_WAIT condition - ie, closes
>>the socket?
> Yes, this commonly happens.
I thought the transition was CLOSE_WAIT -> LAST_ACK -> gone as
typically it is the first side to send a FIN who does the TIME_WAIT
(FIN_WAIT_1 -> FIN_WAIT_2 -> TIME_WAIT) and CLOSE_WAIT is the state
entered when a FIN is recieved and now awaiting the applcation to
close.
Now, that does not mean that one cannot go to TIME_WAIT from
CLOSE_WAIT, and I suppose there is the case of FIN's that cross in the
net, but I wouldn't expect the connections with crossing FIN's to pass
through CLOSE_WAIT.
rick jones
--
No need to believe in either side, or any side. There is no cause.
There's only yourself. The belief is in your own precision. - Jobert
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...