On Thu, 24 Aug 2006 23:03:22 +0800 "Majumder, Rajib" <[EMAIL PROTECTED]> wrote:
> Hi, > > I had a fundamental question regarding stack. When does TCP ack a segment? Is > it immediately receiving a segment or after copying the data from kernel to > user i.e after read() system call returns? > > Any input is highly appreciated. > > Thanks > > Rajib > TCP ack's when segment is received and placed in the socket buffer. For questions like this, you are better off looking at traditional unix network programming books http://www.thefreecountry.com/documentation/unixbooks.shtml -- Stephen Hemminger <[EMAIL PROTECTED]> All non-trivial abstractions, to some degree, are leaky. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html