Sponsored Content
Full Discussion: TIME_WAIT state
Top Forums UNIX for Advanced & Expert Users TIME_WAIT state Post 302295456 by Perderabo on Sunday 8th of March 2009 11:40:20 AM
Old 03-08-2009
Yes, it is really essential!!

For one thing, consider a socket that has sent the final packet which is an ACK to acknowledge the final FIN packet. If everything works right, this is the end of the connection. But what if that final ACK packet gets lost? The other side will timeout and retransmit the final FIN. A socket in TIME_WAIT will be able to retransmit that final ACK, thus allowing the other side to close down.

The other problem is wandering duplicates, packets which seemed to have disappeared, but really just got lost for a while and then finally arrived. A socket in TIME_WAIT has enough information to recognize them for what they are, and simply discard them. If the socket was destroyed somehow and a new connection is established that looks like the old connection, wandering duplicates from the first connection will be delivered to the second connection, possibly injecting garbage into the data stream.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Time_wait ??

Hi, My machine is Enterprise 250, solaris 2.6, with Oracle 9iApplication Server( 1022) and Apache 1.3 running. The problem is the machine appears to be slow when accessed from remote. when we login, it takes time to connect, when we type it appears after some time and so on... I have... (3 Replies)
Discussion started by: shibz
3 Replies

2. IP Networking

TIME_WAIT in netstat

Why would I get TIME_WAIT when i netstat a port?? What would be some scenarios of this situation?? (1 Reply)
Discussion started by: eloquent99
1 Replies

3. UNIX for Advanced & Expert Users

TCP ports - TIME_WAIT

What is the maximum number of TCP ports that can be consumed at any one time? How can I determine what the number is or increase it? I was under the impression that with our system (UnixWare 7.1.1) 1024 was the maximum under our current Kernel tuning parms, but I think that is really just... (4 Replies)
Discussion started by: dlkox
4 Replies

4. Solaris

Zone in down state.

One of my zone is stuck in down state, not able to boot it or halt it .. not even detach .. is there any way to recover without rebooting the whole system ( global zone ) ? (3 Replies)
Discussion started by: fugitive
3 Replies

5. Red Hat

How to kill a TCP connection which has status TIME_WAIT & no PID

Hi, I want to kill TCP connections which have status as TIME_WAIT & no PID (as per the output of the "netstat - p" command). Is there any command/utility available to kill connections to a specific port or IP address. The problem is that these connections don't have process ID (see... (4 Replies)
Discussion started by: Davinder31may
4 Replies

6. UNIX for Dummies Questions & Answers

Server has more TIME_WAIT connections in Apache(port 80)

Server has more TIME_WAIT connections in Apache(port 80) Hi, My webserver has 16GB of RAM and CentOS 5.5, Apache 2.2.3, It's shared webserver used of for webhosting. I have optmized the server as : <IfModule prefork.c>... (4 Replies)
Discussion started by: chandranjoy
4 Replies

7. Solaris

Zone in down state

Hi all, One of my zone is stuck in down state, not able to boot it or halt it root@xpm9ka1 # zoneadm list -iv ID NAME STATUS PATH BRAND IP 0 global running / native shared 2 bsmrxdb4 down /zones/bsmrxdb4 native shared root@xpm9ka1 # zoneadm -z bsmrxdb4 boot zoneadm: zone... (6 Replies)
Discussion started by: peppeunz
6 Replies

8. AIX

Open firmware state to running state

Hi Admins, I am having a whole system lpar in open firmware state on HMC. How can I bring it to running state ? Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies

9. Web Development

The State of Vue.js

Here is very good video from Evan You, founder of Vue.js, on the state of Vue.js State of Vuenation with Evan You Here is a nice PDF report on Vue.js Update State of Vue.js Report Vue.js is now the second most starred project on GitHub, recently surpassing Bootstrap. These two... (0 Replies)
Discussion started by: Neo
0 Replies
XmToggleButtonGadgetSetState(3X)										  XmToggleButtonGadgetSetState(3X)

NAME
XmToggleButtonGadgetSetState - A ToggleButtonGadget function that sets or changes the current state SYNOPSIS
#include <Xm/ToggleBG.h> void XmToggleButtonGadgetSetState (widget, state, notify) Widget widget; Boolean state; Boolean notify; DESCRIPTION
XmToggleButtonGadgetSetState sets or changes the ToggleButtonGadget's current state. Specifies the ToggleButtonGadget widget ID. Speci- fies a Boolean value that indicates whether the ToggleButtonGadget state is selected or unselected. If True, the button state is selected; if False, the button state is unselected. Indicates whether XmNvalueChangedCallback is called; it can be either True or False. The XmNval- ueChangedCallback is only called when this function changes the state of the ToggleButtonGadget. When this argument is True and the Toggle- ButtonGadget is a child of a RowColumn widget whose XmNradioBehavior is True, setting the ToggleButtonGadget causes other ToggleButton and ToggleButtonGadget children of the RowColumn to be unselected. For a complete definition of ToggleButtonGadget and its associated resources, see XmToggleButtonGadget(3X). SEE ALSO
XmToggleButtonGadget(3X) XmToggleButtonGadgetSetState(3X)
All times are GMT -4. The time now is 09:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy