Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!rsg1.er.usgs.gov!ukma!sean From: sean@ms.uky.edu (Sean Casey) Newsgroups: comp.unix.programmer Subject: Re: Problem with binding of socket addresses Message-ID: Date: 10 Dec 90 21:08:03 GMT References: <1990Dec10.194130.20414@athena.mit.edu> Organization: The Leaning Tower of Patterson Office @ The Univ. of KY Lines: 17 jik@athena.mit.edu (Jonathan I. Kamens) writes: | The TCP protocol states that after a TCP stream connection has been closed |abnormally, the same local/foreign port combination cannot be used again for |(2 * MSL). MSL stands for the Maximum Segment Lifetime, which is usually set |to a minute, which means that it probably takes about two minutes before the |address is useable again. Not only that, but if there is pending unwritten data, the address sometimes cannot be reused *ever* unless SO_REUSEADDR was specified. I've had stream ports hang for a week because there was pending outbound data when the server closed the socket. Sean -- *** Sean Casey *** "Live the journey, for each destination is but a doorway to the next..."