lec-18-19 - What's Next. Transport Layer TCP Overview...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
16-18 Sept 2008  BITS C481 (Computer Networks) 1 What’s Next… Transport Layer TCP Overview Connection management Roundtrip Time and Time out Reliable Data Transfer
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
16-18 Sept 2008  BITS C481 (Computer Networks) 2 TCP: Overview    RFCs: 793, 1122, 1323, 2018, 2581 Point-to-Point: One sender, one receiver Reliable, in-order byte stream: No “message boundaries” Pipelined: TCP congestion and flow control set window size Send & receive buffers Full duplex data: Bi-directional data flow in same connection MSS: Maximum segment size Connection-oriented: Handshaking (exchange of control msgs) init’s sender, receiver state before data exchange Flow controlled: Sender will not overwhelm receiver s o c k e t d o o r T C P s e n d b u f f e r T C P r e c e i v e b u f f e r s o c k e t d o o r s e g m e n t a p p l i c a t i o n w r i t e s d a t a a p p l i c a t i o n r e a d s d a t a
Background image of page 2
16-18 Sept 2008  BITS C481 (Computer Networks) 3 TCP segment structure source port # dest port # 32 bits application data  (variable length) sequence number acknowledgement number Receive window Urg data pnter checksum F S R P A U head len not used Options (variable length) URG: urgent data  (generally not used) ACK: ACK # valid PSH: push data now (generally not used) RST, SYN, FIN: connection estab (setup, teardown commands) # bytes  rcvr willing to accept counting by bytes  of data (not segments!) Internet checksum (as in UDP)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
16-18 Sept 2008  BITS C481 (Computer Networks) 4 TCP Connection Management Recall: TCP sender, receiver establish “connection” before exchanging data segments Initialize TCP variables: Seq. #s Buffers, flow control info (e.g. RcvWindow ) Client: connection initiator Socket clientSocket = new
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 18

lec-18-19 - What's Next. Transport Layer TCP Overview...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online