[Ns-developers] ns3 - removal of Socket::HalfClose callbacks

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Fri Mar 21 08:15:20 PDT 2008


On Thu, 2008-03-20 at 23:08 -0700, Tom Henderson wrote:

> This is the case where shutdown is called and read blocks, so the 
> application can tell whether the peer has read all of its data; this 
> seems to be a common enough use case.  The halfClose callback could be 
> associated with the peer's FIN arriving (i.e., the read unblocks).

yes, this sounds right: my knowledge of the details of TCP are sketchy :)

Mathieu



More information about the Ns-developers mailing list