Tcp Immediate Data Transfer

2,157 views
2,004 views

Published on

Unit 4 Of ACN

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,157
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Tcp Immediate Data Transfer

  1. 1. TCP immediate data transfer <ul><li>TCP takes incoming data from a process as an unstructured stream of bytes </li></ul><ul><li>Application need not to create blocks or messages </li></ul><ul><ul><li>It just sends the data to TCP when it is ready for transmission </li></ul></ul><ul><li>TCP just sends them without any real concern for their structure or purpose </li></ul><ul><ul><li>It chooses when and how to send data based solely on the sliding window system </li></ul></ul><ul><li>Application has no control over TCP for transmission </li></ul><ul><ul><li>Applications such as Telenet can face problems </li></ul></ul><ul><ul><li>Accumulation of data by TCP will affect sending of key stroke data </li></ul></ul><ul><ul><li>Small requests data also require immediate sending </li></ul></ul>
  2. 2. TCP Immediate Data Transfer: &quot;Push&quot; Function <ul><li>When an application needs to send data across the internetwork immediately </li></ul><ul><li>It sends the data to TCP using the TCP push function </li></ul><ul><li>This tells the sending TCP to immediately “push” all the data without waiting for more data . </li></ul><ul><li>Push function used by application will set PSH flag of TCP segment </li></ul><ul><li>TCP will accumulate multiple data of push function </li></ul>
  3. 3. TCP Priority Data Transfer <ul><li>Normally TCP treats all the TCP’s Normal Data Processing </li></ul><ul><ul><li>First In, First Out </li></ul></ul><ul><ul><li>Data bytes in a stream as Equal priority </li></ul></ul><ul><ul><li>Same sequence as sent by application </li></ul></ul><ul><li>There are cases when Application may want to change the sequence of data that was given to TCP. </li></ul><ul><li>The most common example: </li></ul><ul><ul><li>When it is necessary to interrupt an application's data transfer </li></ul></ul><ul><ul><li>When the receiver Application wants to convey the sender application to stop the wrong file being sent </li></ul></ul><ul><ul><li>This is to be communicated to the other side urgently </li></ul></ul>
  4. 4. TCP Priority Data Transfer: &quot;Urgent&quot; Function <ul><li>When critical data needs to be sent with a higher priority than the rest, TCP incorporates an “urgent” function. </li></ul><ul><li>This signals TCP layer, which transmits it with the URG bit set in the TCP segment </li></ul><ul><li>TCP sets the Urgent Pointer field to an offset value that points to the last byte of urgent data in the segment </li></ul><ul><li>Upon receipt of a segment with the URG flag set to 1 </li></ul><ul><ul><li>Receiving device from the Urgent Pointer determines the data in the segment that is urgent. </li></ul></ul><ul><ul><li>It then forwards the urgent data to the process </li></ul></ul><ul><li>The “push” function is usually also invoked. This ensures that the urgent data is sent as soon as possible by the transmitting TCP </li></ul>

×