Tcp Immediate Data Transfer
Upcoming SlideShare
Loading in...5
×
 

Tcp Immediate Data Transfer

on

  • 2,423 views

Unit 4 Of ACN

Unit 4 Of ACN

Statistics

Views

Total Views
2,423
Views on SlideShare
2,417
Embed Views
6

Actions

Likes
0
Downloads
7
Comments
0

1 Embed 6

http://www.slideshare.net 6

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Tcp Immediate Data Transfer Tcp Immediate Data Transfer Presentation Transcript

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