* TCP ACK
@ 2006-08-24 15:03 Majumder, Rajib
2006-08-24 17:16 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Majumder, Rajib @ 2006-08-24 15:03 UTC (permalink / raw)
To: 'netdev@vger.kernel.org'
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
==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: TCP ACK
2006-08-24 15:03 TCP ACK Majumder, Rajib
@ 2006-08-24 17:16 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2006-08-24 17:16 UTC (permalink / raw)
To: Majumder, Rajib; +Cc: 'netdev@vger.kernel.org'
On Thu, 24 Aug 2006 23:03:22 +0800
"Majumder, Rajib" <rajib.majumder@credit-suisse.com> 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 <shemminger@osdl.org>
All non-trivial abstractions, to some degree, are leaky.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-24 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 15:03 TCP ACK Majumder, Rajib
2006-08-24 17:16 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).