Hi Experts,

I need understanding on fundamentals. Whenever sender sends diameter message to receiver over TCP protocol - receiver will send tcp ack message.

However, I want to understand if it is diameter application which responds back with ack or it is OS (RHEL) TCP/IP stack which sends this ack message ?

If OS - what is application's role in "TCP ACK" message ?

Thanks in advance !

asked 17 Mar, 08:40

Vijay%20Gharge's gravatar image

Vijay Gharge
3161116
accept rate: 0%


The application has no role in the TCP ACK message. TCP Acknowledgements are sent by the TCP stack, which is part of the kernel.

The TCP ACK packet tells the sender that the data packet was received. The kernel pulls the data segment out of the packet and puts it in the receive buffer, and the application can then read the data from the buffer.

link

answered 17 Mar, 08:45

Jim%20Aragon's gravatar image

Jim Aragon
7.0k733117
accept rate: 23%

Thanks a lot for answer. Though Jasper's response was little ahead of you, your response helped in understanding this case in detail. Hence accepting your comments as answer. @Jasper: Thanks to you too !

(18 Mar, 00:39) Vijay Gharge

That's fine, no worries - it's not about who's the fastest, but which one helped the most. Jim's is better, simple as that ;-)

(18 Mar, 05:56) Jasper ♦♦

If you mean a TCP ACK packet (with zero TCP payload bytes), it is a packet coming from the OS stack, acknowledging incoming data. The application has nothing to do with it, it's all stack.

link

answered 17 Mar, 08:43

Jasper's gravatar image

Jasper ♦♦
22.5k450274
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×699
×132
×56

Asked: 17 Mar, 08:40

Seen: 90 times

Last updated: 18 Mar, 05:56

p​o​w​e​r​e​d by O​S​Q​A