tag:blogger.com,1999:blog-3300233912863113426.post8652257212239550853..comments2023-08-18T16:45:28.749+08:00Comments on Linux and Unix cheatsheet: TIME_WAIT in netstatAnthony Chinhttp://www.blogger.com/profile/00772173755644050052noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-3300233912863113426.post-60054074403555785212012-08-10T14:40:46.842+08:002012-08-10T14:40:46.842+08:00Hi ,
Thanks for providing such a clumsy topic in...Hi , <br /><br />Thanks for providing such a clumsy topic in easy words. <br /><br />Vikasavaitedhttps://www.blogger.com/profile/05329629988672999415noreply@blogger.comtag:blogger.com,1999:blog-3300233912863113426.post-68042891262803504782012-05-25T10:40:41.581+08:002012-05-25T10:40:41.581+08:00Hi Paul,
Thanks for pointing out the MSL typo.
Al...Hi Paul,<br /><br />Thanks for pointing out the MSL typo.<br />Also, we can consider to use tcp_tw_reuse too.Anthony Chinhttps://www.blogger.com/profile/00772173755644050052noreply@blogger.comtag:blogger.com,1999:blog-3300233912863113426.post-51106919215096728472012-05-25T02:57:55.547+08:002012-05-25T02:57:55.547+08:00(Minor typo: 2MLS -> 2MSL)
You can force Linux...(Minor typo: 2MLS -> 2MSL)<br /><br />You can force Linux to reuse TIME_WAIT slots with,<br /><br />echo 1 > /proc/sys/net/ipv4/tcp_tw_recyclePaul Makepeacehttps://www.blogger.com/profile/01240990782876141936noreply@blogger.comtag:blogger.com,1999:blog-3300233912863113426.post-34730039776681296072012-02-09T15:50:56.368+08:002012-02-09T15:50:56.368+08:00I just have a question. Are you familiar with send...I just have a question. Are you familiar with send unix command? Send() sends a message on a socket. Of course, this connection should be in state "ESTABLISHED" for it to work.<br /><br />My question is: a connection in "TIME_WAIT" can it receive messages from send()?<br /><br />I think it will fail if you send a message in the TIME_WAIT; because the other end went into the CLOSE_WAIT state if you active close the socket.<br />the TIME_WAIT existence is to avoid the<br />old packets belonged to the past sockets<br />intermix the new connection.boleehttps://www.blogger.com/profile/00447999588222127747noreply@blogger.comtag:blogger.com,1999:blog-3300233912863113426.post-84208434256746182012-02-09T15:41:03.531+08:002012-02-09T15:41:03.531+08:00Thank you for sharing your thinking, your words ar...Thank you for sharing your thinking, your words are easy to understand,moreover, it<br />illustrates the essence of TIME_WAIT.boleehttps://www.blogger.com/profile/00447999588222127747noreply@blogger.comtag:blogger.com,1999:blog-3300233912863113426.post-50796530671790396802011-08-04T20:56:54.243+08:002011-08-04T20:56:54.243+08:00Hello,
Very useful. Thank you.
I just have a que...Hello,<br /><br />Very useful. Thank you.<br /><br />I just have a question. Are you familiar with send unix command? Send() sends a message on a socket. Of course, this connection should be in state "ESTABLISHED" for it to work.<br /><br />My question is: a connection in "TIME_WAIT" can it receive messages from send()?<br /><br />Thank you in advance.Nicola Pavlovhttps://www.blogger.com/profile/13157481180336690587noreply@blogger.comtag:blogger.com,1999:blog-3300233912863113426.post-7835888328397665112011-01-03T18:40:02.954+08:002011-01-03T18:40:02.954+08:00A blog to be followed!!!!A blog to be followed!!!!vijayaguruhttps://www.blogger.com/profile/14271353250690151271noreply@blogger.comtag:blogger.com,1999:blog-3300233912863113426.post-68545397896821202442010-11-07T18:09:21.473+08:002010-11-07T18:09:21.473+08:00Thank you, very easy to understand!Thank you, very easy to understand!MiKahttps://www.blogger.com/profile/00950671735790444886noreply@blogger.com