Computer Networks. 3.Transport Layer. Transport Layer - 1

Size: px
Start display at page:

Download "Computer Networks. 3.Transport Layer. Transport Layer - 1"

Transcription

1 Computer Networks 3.Transport Layer Transport Layer - 1

2 Transport services and protocols End-to-end protocol Logical communication between app processes Segmentation of messages Send side: breaks app messages into segments; Passes to network layer Receive side: reassembles segments into messages; Passes to application layer Multiplexing application transport network data link physical network data link physical Usual transport protocols Internet: TCP and UDP (restricted functionality) network data link physical network data link physical network data link physical network data link physical application transport network data link physical Transport Layer - 2

3 Internet transport-layer protocols Transport layer provides communication between application processes Network layer: between hosts Reliable, in-order delivery (TCP) connection setup flow control (receiver may slowdown sender) congestion control (against overall overload) Unreliable, unordered delivery (UDP) no-frills extension of best-effort IP Services not available in any of them Quality of Service (QoS) such as delay and bandwidth guarantees Real-time Transport Protocol (RTP) Application process Write bytes Origins at the vat audio conferencing tool s application protocol RTP is a transport protocol, running over the usual transport protocols, typically over UDP TCP Send buffer Segment Segment Segment Transmit segments Application process TCP Receive buffer Read bytes Transport Layer - 3

4 Multiplexing/demultiplexing Multiplexing at send host: Gathering data from multiple sender processes, enveloping data with header (needed for demultiplexing) Demultiplexing at rcv host: Delivering received segments to correct receiver process A channel of level i used by multiple sub-channels of level i+1 The multiplexed messages must be marked ( colored ) At demultiplexing the marks denote the sub-channel 3 sub-channels in 1 message with header (black) Transport Layer - 4

5 How demultiplexing works Host receives IP datagrams Each datagram has source and destination IP address Each datagram carries 1 TL-segment Each segment has source and destination port number Host uses IP address & port number to direct segment to appropriate socket Connection-oriented (TCP) demultipl. Own socket for each sub-channel, denoted by destination and source IP address and port number (4-tupel) Connectionless (UDP) demultiplexing Uses only the destination IP and port: Demux must be done by application 32 bits source port # dest port # other header fields application data (message) TCP/UDP segment format Transport Layer - 5

6 Connection-oriented (TCP) demux Server host may support many simultaneous TCP sockets: Sockets identified by own 4-tuple (source-ip, dest-ip, source-port, dest-port) E.g. Web servers have different sockets for each connecting client Non-persistent HTTP has different socket for each request P2 P3 P4 P1P1 SP: 80 DP: 9157 SP: 80 DP: 5775 SP: 9157 SP: 5775 client IP: A DP: 80 server IP: C DP: 80 Client IP:B Transport Layer - 6

7 Connectionless (UDP) demultiplexing IP datagrams with different source IP addresses and/or source port numbers are directed to the same socket Demultiplexing must be done by the application DatagramSocket serversock = new DatagramSocket(6428); P2 P3 P1P1 SP: 6428 DP: 9157 SP: 6428 DP: 5775 client IP: A SP: 9157 DP: 6428 SP provides return address server IP: C SP: 5775 DP: 6428 Client IP:B Transport Layer - 7

8 Principles of Reliable data transfer Important in application, transport and link layers Top-10 list of important networking topics! Task of reliable data transfer protocol (rdt): unreliable reliable Complexity depends on the characteristics of the unreliable channel Transport Layer - 8

9 Reliable transfer over a reliable channel Underlying channel perfectly reliable No bit errors No loss of packets Separate FSMs for sender, receiver: Just send/receive data into/from underlying channel FSM (Finite State Machine) Usual tool for specification of protocol states Causing event Wait for call from above rdt_send(data) packet = make_pkt(data) udt_send(packet) Wait for call from below rdt_rcv(data) extract (packet,data) deliver_data(data) sender Actions taken To higher level receiver Transport Layer - 9

10 Channels with errors and loss Underlying channel can have errors Corrupt packets (flip or loose bits) Lose packets But: no reordering for the first! Checksum, sequence numbers (seq #), acknowledgments (ACKs), retransmissions will be of help, but not enough Alternating-bit protocol After sending a packet, sender sets a time limit and waits until either an ACK arrives or a time out interrupt happens The receiver sends positive acknowledgments (ACK) for all packets Sender retransmits packets, if ACK does not arrives in time We enumerate the packets (0 and 1), to enable the receiver to distinct duplicates from originals Transport Layer - 10

11 Alternating-bit protocol sender rdt_rcv(rcvpkt) Λ rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt,1) stop_timer timeout udt_send(sndpkt) start_timer rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isack(rcvpkt,0) ) Λ Wait for call 0 from above Wait for ACK1 rdt_send(data) sndpkt = make_pkt(0, data, checksum) udt_send(sndpkt) start_timer Wait for ACK0 Wait for call 1 from above rdt_send(data) sndpkt = make_pkt(1, data, checksum) udt_send(sndpkt) start_timer rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isack(rcvpkt,1) ) Λ timeout udt_send(sndpkt) start_timer rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt,0) stop_timer rdt_rcv(rcvpkt) Λ No-action Transport Layer - 11

12 Alternating-bit protocol in action (1) time Transport Layer - 12

13 Alternating-bit protocol in action (2) Transport Layer - 13

14 Performance of Alternating-bit protocol Alternating-bit protocol works, but performance is poor Example: 1 Gbps link, 15 ms e-e prop. delay, 1KB packet: T transmit = L (packet length in bits) R (transmission rate, bps) = 8*10 3 b 10 9 b/sec = 8 microsec U sender = L / R RTT + L / R =.008 ms ms = U sender : utilization fraction of time sender busy sending 1KB packet every 30 msec 270 Kbps throughput over 1 Gbps link Network protocol limits use of physical resources! Transport Layer - 14

15 Alt.-bit protocol: stop-and-wait operation first packet bit transmitted, t = 0 last packet bit transmitted, t = L / R sender receiver RTT first packet bit arrives last packet bit arrives, send ACK ACK arrives, send next packet, t = RTT + L / R U sender = L / R RTT + L / R = = Transport Layer - 15

16 Pipelined protocols Sender allows multiple, in-flight, yet-to-be-acknowledged packets Range of sequence numbers must be increased Buffering at sender and/or receiver Two generic forms of pipelined protocols go-back-n, selective repeat Transport Layer - 16

17 Pipelining: increased utilization first packet bit transmitted, t = 0 last bit transmitted, t = L / R sender receiver RTT ACK arrives, send next packet, t = RTT + L / R first packet bit arrives last packet bit arrives, send ACK last bit of 2 nd packet arrives, send ACK last bit of 3 rd packet arrives, send ACK Increase utilization by a factor of 3! U sender = 3 * L / R RTT + L / R = = Transport Layer - 17

18 Go-Back-N Sender k-bit sequence number (seq #) in packet header (modulo 2 k arithmetic) Sliding window of up to N ( 2 k ), consecutive unack ed pkts allowed ACK(i) ACKs all packets up to, including sequence number i: cumulative ACK Timer for each in-flight packet Maybe implemented by a single timer for the oldest sent but unack ed pkt Timeout(i) Retransmit packets in the range [i.. nextseqnum-1] (i = base, if only 1 timer) Laszlo Böszörmenyi Computer Networks Transport Layer - 18

19 GBN: sender extended FSM rdt_send(data) Initialization Λ base=0 nextseqnum=0 rdt_rcv(rcvpkt) && (corrupt(rcvpkt) base > getacknum(rcvpkt)) Λ if (nextseqnum < base+n) { // inside window? sndpkt[nextseqnum] = make_pkt(nextseqnum,data,chksum) udt_send(sndpkt[nextseqnum]) if (base == nextseqnum) { // Use a single timer start_timer // at the low edge of the window } nextseqnum++ } else // outside window refuse_data(data) // Let us assume a greedy app. Wait timeout start_timer udt_send(sndpkt[base]) udt_send(sndpkt[base+1]) udt_send(sndpkt[nextseqnum-1]) rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && base <= getacknum(rcvpkt) // ACK is received base = getacknum(rcvpkt)+1 // Window slides If (base == nextseqnum) stop_timer // No unack ed pkt else start_timer // Still unack ed Transport Layer - 19

20 GBN: receiver extended FSM Λ expectedseqnum=0 Wait sndpkt = make_pkt(expectedseqnum,ack,chksum) No correctly received packet // resend ACK udt_send(sndpkt) rdt_rcv(rcvpkt) // Packet correctly received && notcurrupt(rcvpkt) && hasseqnum(rcvpkt, expectedseqnum) extract(rcvpkt,data) deliver_data(data) sndpkt = make_pkt(expectedseqnum, ACK, chksum) udt_send(sndpkt) expectedseqnum++ Send ACK for each correct pkt with highest in-order seq # may generate duplicate ACKs need only remember expectedseqnum Out-of-order pkt: discard (don t buffer) -> no receiver buffering! Re-ACK packet with highest in-order seq # Transport Layer - 20

21 GBN in action GBN in action Window size = 4 Transport Layer - 21

22 Selective Repeat Receiver individually acknowledges all correctly received packets Buffers packets, as needed, for eventual in-order delivery to upper layer Sender only resends packets for which ACK not received Sender timer for each unacked packet Sender window N consecutive seq # s Again limits seq #s of sent, unacked packets Transport Layer - 22

23 Selective repeat: sender, receiver windows Window can move at consecutive greens Window can move at consecutive reds Transport Layer - 23

24 Selective repeat sender data from above : if next available seq # in window, send pkt timeout(n): resend pkt n, restart timer ACK(n) in [sendbase,sendbase+n-1]: mark pkt n as received if n smallest unacked pkt, advance window base to next unacked seq # receiver pkt n in [rcvbase, rcvbase+n-1] send ACK(n) out-of-order: buffer in-order: deliver consec. in-order pkts advance window to next not-yet-received pkt pkt n in [rcvbase-n,rcvbase-1] ACK(n) otherwise: ignore Transport Layer - 24

25 Selective repeat in action Transport Layer - 25

26 Selective repeat dilemma Example: Seq # space: 4 (0, 1, 2, 3) 2 bits, modulo 4 arithmetic Window size = 3 Receiver window is forwareded premature Incorrectly passes duplicate data as new in (a) When the 2. ACK0 arrives, sender slides w. + sends pkt3 The same seq.# at the receiver could belong to 2 consecutive sender windows What relationship between seq # space and window size? window size < seq#space/2! Laszlo Böszörmenyi Transport Layer - 26 Computer Networks

27 UDP: User Datagram Protocol [RFC 768] Best effort service, segments may be Lost and delivered out of order Connectionless No handshaking Each segment is independent Rationales (why UDP?) Application may add reliability No connection establishment No connection state Small segment header No congestion control Used by Video streaming, DNS, SNMP Length, in bytes of segment, including header 32 bits source port # dest port # length Application data (message) checksum UDP segment format Transport Layer - 27

28 UDP checksum Goal: detect errors (e.g. flipped bits) in transmitted segment Sender: Treat segment contents as 16-bit integers Includes the 12-byte pseudo-header of the NW Layer (IP addresses) Checksum: addition (1 s complement sum) of segment contents Sender puts checksum into checksum field Receiver: Compute checksum of received segment Check if computed checksum equals checksum field value: NO - error detected YES - no error detected. But maybe errors nonetheless? More later. Transport Layer - 28

29 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 socket door 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 application writes data TCP send buffer segment application reads data TCP receive buffer Full duplex data: bi-directional data flow in same connection MSS (Max. Segment Size): may avoid IP fragmentation Connection-oriented: handshaking (exchange of control msgs) init s sender, receiver state before data exchange Flow controlled: socket door sender will not overwhelm receiver Transport Layer - 29

30 URG: urgent data (generally not used) ACK: ACK # valid PSH: push data now (suppress buffering; generally not used) RST, SYN, FIN: connection estab. (reset,setup,teardown commands) Head length (total head < 64 KB) Internet checksum: Includes IP addr.+ total length ( nasty ) TCP segment structure 32 bits source port # dest port # head len sequence number acknowledgement number not used U A P checksum R S F Receive window application data (variable length) Urg data pnter Options (variable length) counting by bytes of data (not segments!) # bytes rcvr willing to accept (flow-contr.) e.g. MSS negotiation, or time- Stamping MSS = MTU (Max. Segm. Size = Max. Transf. Unit) Transport Layer - 30

31 Seq. # s: TCP seq. # s and ACKs Byte number of first byte in segment s data Starts with random#: avoid delayed strangers from previous connections ACKs: Seqence# of next byte expected from other side Cumulative ACK Should receiver buffer out-of-order segments? TCP spec doesn t say - up to implementer Simple dev. may drop them User types C host ACKs receipt of echoed C Host A no data Host B simple telnet scenario host ACKs receipt of C, echoes back C Transport Layer - 31 time

32 TCP Round Trip Time and Timeouts RTT must be estimated well protocol based on time outs Exponential weighted moving average (EWMA) EstimatedRTT = (1- α)*estimatedrtt + α*samplertt Influence of past sample decreases exponentially fast (recomm.: α=0.125) RTT (milliseconds) time (seconnds) SampleRTT Estimated RTT Transport Layer - 32

33 TCP, Setting the timeout Estimated-RTT plus safety margin large variation in EstimatedRTT larger safety margin Estimate how sample-rtt deviates from estimated-rtt DevRTT = (1-β)*DevRTT + β* SampleRTT-EstimatedRTT (recommended, β = 0.25) Then set timeout interval TimeoutInterval = EstimatedRTT + 4*DevRTT TCP creates rdt service on top of IP s unreliable service Pipelined segments, cumulative acknowledgments, single retransmission timer Transport Layer - 33

34 TCP, Retransmission strategies At retransmission, the timeout is doubled Helps to avoid premature timeouts A simple way of congestion control Simulated Negative Acknowledgments (NAK) If the receiver notices a gap in the sequence numbers, it may send a duplicate ACK for the in-order part (as NAK) Why simulated? no NAK for historical reasons Retransmissions are triggered by Timeout events 3 duplicate acknowledgment: Allows fast retransmission of the missing bytes, before the timeout is elapsed Transport Layer - 34

35 NextSeqNum SendBase = InitialSeqNum = InitialSeqNum loop (forever) { switch(event) event: data received from application above create TCP segment with sequence number NextSeqNum if (timer currently not running) start timer pass segment to IP // assume here that length(data) MTU NextSeqNum = NextSeqNum + length(data) event: timer timeout retransmit not-yet-acknowledged segment with smallest sequence number start timer event: ACK received, with ACK field value of y if (y > SendBase) { SendBase = y // move send window edge if (there are currently not-yet-acknowledged segments) start timer } } /* end of loop forever */ TCP sender (simplified) Comment: SendBase: first unack ed byte SendBase-1: last (cumulatively) ack ed byte Example: SendBase-1 = 71; y= 73, so the rcvr wants 73+ ; y > SendBase, so that new data is acked Transport Layer - 35

36 TCP: retransmission scenarios Host A Host B Host A Host B timeout X loss Seq=92 timeout SendBase = 100 time lost ACK scenario discard, but ack Sendbase = 100 SendBase = 120 SendBase = 120 time premature timeout Transport Layer - 36 Seq=92 timeout

37 TCP retransmission scenarios (more) Host A Host B timeout X loss SendBase = 120 No resend time Cumulative ACK scenario Transport Layer - 37

38 TCP ACK generation [RFC 1122, RFC 2581] Event at Receiver Arrival of in-order segment with expected seq #. All data up to expected seq # already ACKed Arrival of in-order segment with expected seq #. One other segment has ACK pending Arrival of out-of-order segment higher-than-expect seq. #. Gap detected Arrival of segment that partially or completely fills gap TCP Receiver action Delayed ACK. Wait up to 500ms for next segment. If no next segment, send ACK Immediately send single cumulative ACK, ACKing both in-order segments Immediately send duplicate ACK, indicating seq. # of next expected byte (May enforce fast retransmit) Immediate send ACK, provided that segment starts at lower end of gap Transport Layer - 38

39 TCP Flow control LBRcvd LBRead flow control sender won t overflow receiver s buffer by transmitting too much, too fast Spare room in buffer (Let receiver discard out-of-order data) LastByteRead: Number of the last byte read by the application LastByteRcvd: Number of the last byte arrived from the network RcvWindow = RcvBuffer- [LastByteRcvd-LastByteRead] Rcvr advertises spare room by including value of RcvWindow Sender limits unacked data to RcvWindow: LastByteSent-LastByteAcked RcvWin Receive buffer never overflows RcvWindow 0 holds If RcvWindow = 0, sender sends 1 byte messages to enforce ACK with RcvWindow Transport Layer - 39

40 TCP Connection Management Sender, receiver establish connection before exchanging data segments Initialize TCP variables: seq. #s, buffers, flow control info (e.g. RcvWindow) Server: contacted by client Socket connectionsocket = welcomesocket.accept(); Client: connection initiator Socket clientsocket = Socket ("hostname","port number ); Three way handshake: 1. Client host sends TCP SYN segment to server specifies initial seq # no data 2. Server host receives SYN, replies with SYN&ACK segment server allocates buffers specifies server initial seq. # 3. Client receives SYN&ACK, replies with ACK segment may contain data Termination can be initiated both by client and server Transport Layer - 40

41 TCP Connection Management (cont) TCP server lifecycle TCP client lifecycle Grace termination With abrupt termination we might loose segments on way 2 army problem Last ACK may be lost Transport Layer - 41

42 Principles of Congestion Control Congestion: Informally: Too many sources sending too much data too fast for the network to handle Different from flow control! Manifestations: lost packets (buffer overflow at routers) long delays (queuing in router buffers) A top-10 problem! Transport Layer - 42

43 Causes/costs of congestion: scenario 1 2 senders, 2 receivers C: link capacity (bps) λ: data rate (bps or bytes/sec or packets/sec) one router, infinite buffers no retransmission λ in Host B Host A λ in : rate for application data unlimited shared output link buffers λ out Max. throughput / connection Operating over the link capacity Infinite delays Operating near the link capacity Large delays (although link usage is maximal) Transport Layer - 43

44 Causes/costs of congestion: scenario 2 One router, finite buffers Packets arriving at full buffer must be discarded Sender retransmission of lost packet λ (offered load): the rate at which the transport layer sends data Host A λ in : application data rate λ' in : original data, plus retransmitted data λ out Host B finite shared output link buffers Transport Layer - 44

45 Performance of scenario 2 a) λ = λ (no retransmission: goodput ) in out b) Perfect retransmission, only when loss: λ > λ in out c) Retransmission of delayed (not lost) packet makes λ larger than in perfect case for the same λ out More work (retransmission) for given goodput Unneeded retransmissions: link carries multiple copies of packets Transport Layer - 45

46 Causes/costs of congestion: scenario 3 4 senders / receivers Multihop paths Timeout/retransmit When packet dropped, previous transmission efforts used for that packet were wasted! At the end, no useful work is done any more! λ in : original data λ' in : original data, plus retransmitted data λ out Host A Host B Transport Layer - 46

47 TCP Congestion Control End-to-end control (no network assistance): hard task! Congestion window enables sender limits transmission: LastByteSent-LastByteAcked min{congwin, RcvWin} Rate is usually roughly: rate = CongWin RTT Bytes/sec CongWin is dynamic, function of perceived network congestion How does sender perceive congestion? Loss event = timeout or 3 duplicate acks TCP sender reduces rate (CongWin) after loss event 3 mechanisms AIMD (Additive-Increase, Multiplicative-Decrease) slow start conservative after timeout events Transport Layer - 47

48 TCP AIMD Multiplicative Decrease Cut CongWin in half after loss event congestion window Additive Increase Increase CongWin by 1 MSS every RTT in the absence of loss events (probing) 24 Kbytes 16 Kbytes 8 Kbytes Long-lived TCP connection ( sawtooth pattern) Transport Layer - 48 time

49 TCP Slow Start When TCP connection begins: CongWin = 1 MSS Rate = 1 MSS / RTT low! After begin, increase rate exponentially until first loss event: Double CongWin every RTT RTT Host A Host B Done by incrementing CongWin for every ACK received Initial rate is slow but ramps up exponentially fast could be also called fast start time Transport Layer - 49

50 Refinement When should increase switch to linear? Controlled by the variable Threshold Initialized to a large value (65KB e.g.) When CongWin < Threshold Sender in slow-start phase, window grows exponentially When CongWin Threshold Sender in congestion-avoidance, window grows linearly When a triple duplicate ACK occurs Threshold = CongWin/2 and CongWin = Threshold (linear) When timeout occurs Threshold = CongWin/2 and CongWin = 1 MSS (slow start) Transport Layer - 50

51 TCP Fairness in AIMD mode If K TCP sessions share the same bottleneck link of bandwidth R, each should have average rate of R/K Example, 2 competing sessions (same MSS and RTT): Additive increase gives slope of 1, as throughput increases Multiplicative decrease decreases throughput proportionally R equal bandwidth share loss: decrease window by factor of 2 congestion avoidance: additive increase R = 11 CW CW CW Cw full bandwidth utilization Connection 1 throughput R Transport Layer - 51

52 Delay modeling How long does it take to receive an object e.g. from a Web server after sending a request? Ignoring congestion, delay is influenced by TCP connection establishment Data transmission delay Slow start Notation, assumptions: Assume one link between client and server of rate R S: Segment size = MSS (bits) O : Size of object to be transferred (bits) No retransmissions (no loss, no corruption) Window size (WS): Assume: fixed congestion window, W segments Dynamic window, modeling slow start is similar, but more complex Transport Layer - 52

53 Delay with big congestion window First case WS/R > RTT + S/R (WS > RTT*R + S): ACK for first segment in window returns before the first window is transmitted Delay = 2RTT + O/R Transport Layer - 53

54 Delay with small congestion window Second case WS/R < RTT + S/R Wait for ACK after sending window s worth of data sent K = #windows for O: K = O/WS Delay = 2RTT + O/R + (K-1)[S/R + RTT - WS/R] Transport Layer - 54

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer Reti degli Elaboratori Canale AL Prof.ssa Chiara Petrioli a.a. 2013/2014 We thank for the support material Prof. Kurose-Ross All material copyright 1996-2012 J.F Kurose and K.W.

More information

Go-Back-N. Pipelining: increased utilization. Pipelined protocols. GBN: sender extended FSM

Go-Back-N. Pipelining: increased utilization. Pipelined protocols. GBN: sender extended FSM Pipelined protocols Pipelining: sender allows multiple, in-flight, yet-to-be-acknowledged pkts range of sequence numbers must be increased buffering at sender and/or receiver Pipelining: increased utilization

More information

Lecture 8. TCP/IP Transport Layer (2)

Lecture 8. TCP/IP Transport Layer (2) Lecture 8 TCP/IP Transport Layer (2) Outline (Transport Layer) Principles behind transport layer services: multiplexing/demultiplexing principles of reliable data transfer learn about transport layer protocols

More information

CSE 4213: Computer Networks II

CSE 4213: Computer Networks II Next CSE 4213: Computer Networks II The layer Suprakash Datta datta@cs.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cs.yorku.ca/course/4213 These slides are adapted

More information

Transport layer. Our goals: Understand principles behind transport layer services: Learn about transport layer protocols in the Internet:

Transport layer. Our goals: Understand principles behind transport layer services: Learn about transport layer protocols in the Internet: Transport layer Our goals: Understand principles behind transport layer services: Multiplexing/demultiplexing Reliable data transfer Flow control Congestion control Learn about transport layer protocols

More information

Transport services and protocols. Chapter 3 outline. Internet transport-layer protocols Chapter 3 outline. Multiplexing/demultiplexing

Transport services and protocols. Chapter 3 outline. Internet transport-layer protocols Chapter 3 outline. Multiplexing/demultiplexing Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless : UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented : TCP segment structure reliable

More information

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page:

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page: CSE 3214: Computer Networks Protocols and Applications Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cse.yorku.ca/course/3214 These slides are

More information

Transport layer: Outline

Transport layer: Outline Transport layer Our goals: Understand principles behind transport layer services: Multiplexing/demultiplexing Reliable data transfer Flow control Congestion control Learn about transport layer protocols

More information

Lecture 5. Transport Layer. Transport Layer 1-1

Lecture 5. Transport Layer. Transport Layer 1-1 Lecture 5 Transport Layer Transport Layer 1-1 Agenda The Transport Layer (TL) Introduction to TL Protocols and Services Connectionless and Connection-oriented Processes in TL Unreliable Data Transfer User

More information

TDTS06: Computer Networks

TDTS06: Computer Networks TDTS06: Computer Networks Instructor: Niklas Carlsson Email: niklas.carlsson@liu.se Notes derived from Computer Networking: A Top Down Approach, by Jim Kurose and Keith Ross, Addison-Wesley. The slides

More information

Chapter 3 outline. TDTS06 Computer networks. Principles of Reliable data transfer. Reliable data transfer: getting started

Chapter 3 outline. TDTS06 Computer networks. Principles of Reliable data transfer. Reliable data transfer: getting started Chapter 3 outline TDTS06 Computer networks Lecture 4: Transport layer II Reliable data delivery and TCP Jose M. Peña, jospe@ida.liu.se IDA/ADIT, LiU 2009-08-28 3.1 Transport-layer services 3.2 Multiplexing

More information

32 bits. source port # dest port # sequence number acknowledgement number not used. checksum. Options (variable length)

32 bits. source port # dest port # sequence number acknowledgement number not used. checksum. Options (variable length) Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connectionoriented transport: TCP segment

More information

Distributed Systems. 5. Transport Protocols. Werner Nutt

Distributed Systems. 5. Transport Protocols. Werner Nutt Distributed Systems 5. Transport Protocols Werner Nutt 1 5. Transport Protocols 5.1 Transport-layer Services 5.1 Transport-layer Services 5.2 Multiplexing and Demultiplexing 5.3 Connectionless Transport:

More information

CNT 6885 Network Review on Transport Layer

CNT 6885 Network Review on Transport Layer CNT 6885 Network Review on Transport Layer Jonathan Kavalan, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida User Datagram Protocol [RFC 768] no frills,

More information

Distributed Systems. 5. Transport Protocols

Distributed Systems. 5. Transport Protocols Distributed Systems 5. Transport Protocols Werner Nutt 1 5. Transport Protocols 5.1 Transport-layer Services 5.1 Transport-layer Services 5.2 Multiplexing and Demultiplexing 5.3 Connectionless Transport:

More information

Computer Networks & Security 2016/2017

Computer Networks & Security 2016/2017 Computer Networks & Security 2016/2017 Transport Layer (04) Dr. Tanir Ozcelebi Courtesy: Kurose & Ross Courtesy: Forouzan TU/e Computer Science Security and Embedded Networked Systems Transport Layer Our

More information

Transport Layer: outline

Transport Layer: outline Transport Layer: outline Transport-layer services Multiplexing and demultiplexing Connectionless transport: UDP Principles of reliable data transfer Connection-oriented transport: TCP Segment structure

More information

CMSC 332 Computer Networks Reliable Data Transfer

CMSC 332 Computer Networks Reliable Data Transfer CMSC 332 Computer Networks Reliable Data Transfer Professor Szajda Last Time Multiplexing/Demultiplexing at the Transport Layer. How do TCP and UDP differ? UDP gives us virtually bare-bones access to the

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer These slides are adapted from the original slides provided by J.Kurose and K.W Ross. All material copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking:

More information

CC451 Computer Networks

CC451 Computer Networks CC451 Computer Networks Lecture 6 Transport Layer (cont d) Transport Layer 3-1 Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty,

More information

Chapter 3 outline. 3.5 connection-oriented transport: TCP segment structure reliable data transfer flow control connection management

Chapter 3 outline. 3.5 connection-oriented transport: TCP segment structure reliable data transfer flow control connection management Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and demultiplexing 3.3 connectionless transport: UDP 3.4 principles of reliable data transfer 3.5 connection-oriented transport: TCP segment

More information

CSC 4900 Computer Networks: Reliable Data Transport

CSC 4900 Computer Networks: Reliable Data Transport CSC 4900 Computer Networks: Reliable Data Transport Professor Henry Carter Fall 2017 Last Time Multiplexing/Demultiplexing at the Transport Layer. How do TCP and UDP differ? UDP gives us virtually bare-bones

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer Reti degli Elaboratori Canale AL e MZ Prof.ssa Chiara Petrioli a.a. 2016/2017 We thank for the support material Prof. Kurose-Ross All material copyright 1996-2012 J.F Kurose and

More information

TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581

TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 ocket door point-to-point: one sender, one receiver reliable, in-order byte steam: no message boundaries pipelined: TCP congestion and flow control set window

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009. Transport Layer 3-1 Chapter 3: Transport Layer Our goals: understand

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

CS 3516: Advanced Computer Networks

CS 3516: Advanced Computer Networks Welcome to CS 3516: Advanced Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am M, T, R, and F Location: Fuller 320 Fall 2017 A-term 1 Some slides are originally from the course materials of the textbook

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer All material copyright 1996-2009 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April

More information

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 8

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 8 CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 8 1 A lot of students have been having difficulty seeing the HTTP packets generated when navigating

More information

CC451 Computer Networks

CC451 Computer Networks CC451 Computer Networks Lecture 5 Transport Layer Transport Layer 3-1 Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students,

More information

Rdt2.0: channel with packet errors (no loss!)

Rdt2.0: channel with packet errors (no loss!) Rdt2.0: channel with packet errors (no loss!) What mechanisms do we need to deal with error? Error detection Add checksum bits Feedback Acknowledgements (ACKs): receiver explicitly tells sender that packet

More information

Transport Layer: Outline

Transport Layer: Outline Transport Layer: Outline Transport-layer services Multiplexing and demultiplexing Connectionless transport: UDP Principles of reliable data transfer Connection-oriented transport: TCP Segment structure

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Lecturer

More information

Lecture 08: The Transport Layer (Part 2) The Transport Layer Protocol (TCP) Dr. Anis Koubaa

Lecture 08: The Transport Layer (Part 2) The Transport Layer Protocol (TCP) Dr. Anis Koubaa NET 331 Computer Networks Lecture 08: The Transport Layer (Part 2) The Transport Layer Protocol (TCP) Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth Edition

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Foundations of Telematics

Foundations of Telematics Foundations of Telematics Chapter 3 Transport Layer Acknowledgement: These slides have been prepared by J.F. Kurose and K.W. Ross Foundations of Telematics (AMW SS 2010): 03 Transport Layer 1 Chapter 3:

More information

Chapter 3- parte B outline

Chapter 3- parte B outline Chapter 3- parte B outline 3.1 transport-layer services 3.2 multiplexing and demultiplexing 3.3 connectionless transport: UDP 3.4 principles of reliable data transfer 3.5 connection-oriented transport:

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Correcting mistakes. TCP: Overview RFCs: 793, 1122, 1323, 2018, TCP seq. # s and ACKs. GBN in action. TCP segment structure

Correcting mistakes. TCP: Overview RFCs: 793, 1122, 1323, 2018, TCP seq. # s and ACKs. GBN in action. TCP segment structure Correcting mistakes Go-back-N: big picture: sender can have up to N unacked packets in pipeline rcvr only sends cumulative acks doesn t ack packet if there s a gap sender has r for oldest unacked packet

More information

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009. Chapter 3: Transport Layer Our goals: understand principles behind transport

More information

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009. Chapter 3: Transport Layer Our goals: understand principles behind transport

More information

Computer Networks. Transport Layer

Computer Networks. Transport Layer Computer Networks Transport Layer By: Mohammad Nassiri Bu-Ali Sina University, Hamedan Fall 2009 Chapter 3: Transport Layer Our goals:!! understand principles behind transport layer services: "! multiplexing/

More information

Chapter III: Transport Layer

Chapter III: Transport Layer Chapter III: Transport Layer UG3 Computer Communications & Networks (COMN) Myungjin Lee myungjin.lee@ed.ac.uk Slides copyright of Kurose and Ross rdt2.0 has a fatal flaw! what happens if ACK/NAK corrupted?

More information

Lecture 07 The Transport Layer (TCP & UDP) Dr. Anis Koubaa

Lecture 07 The Transport Layer (TCP & UDP) Dr. Anis Koubaa NET 331 Computer Networks Lecture 07 The Transport Layer (TCP & UDP) Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth Edition by Kurose and Ross, (c) Pearson

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer CSF531 Advanced Computer Networks 高等電腦網路 Chapter 3 Transport Layer 吳俊興 國立高雄大學資訊工程學系 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP

More information

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented transport: TCP segment

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: The notes used in this course are substantially based on powerpoint slides developed and copyrighted by J.F. Kurose and K.W. Ross, 1996-2007

More information

CSC 8560 Computer Networks: Transport Layer

CSC 8560 Computer Networks: Transport Layer CSC 8560 Computer Networks: Transport Layer Professor Henry Carter Fall 2017 Last Time... Sockets programming API TCP and UDP look different. Remember, there is no connect() in UDP - just start sending

More information

CSC 401 Data and Computer Communications Networks

CSC 401 Data and Computer Communications Networks CSC 401 Data and Computer Communications Networks Transport Layer Pipelined Reliable Data Transfer Protocols: Go-Back-N and Selective Repeat Sec 3.4.2-3.4.3 Prof. Lina Battestilli Fall 2017 Transport Layer

More information

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented transport: TCP segment

More information

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ Chapter 3 Transport Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.

More information

Lecture 11: Transport Layer Reliable Data Transfer and TCP

Lecture 11: Transport Layer Reliable Data Transfer and TCP Lecture 11: Transport Layer Reliable Data Transfer and TCP COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016,

More information

Chapter 3: Transport Layer. Computer Networks. Transport Layer. Transport services and protocols. Chapter 3 outline. Bu-Ali Sina University, Hamedan

Chapter 3: Transport Layer. Computer Networks. Transport Layer. Transport services and protocols. Chapter 3 outline. Bu-Ali Sina University, Hamedan Computer Networks Transport Layer By: Mohammad Nassiri Chapter 3: Transport Layer Our goals:!! understand principles behind transport layer services: "! multiplexing/ demultiplexing "! reliable data transfer

More information

Internet transport-layer protocols. Transport services and protocols. Sending and receiving. Connection-oriented (TCP) Connection-oriented

Internet transport-layer protocols. Transport services and protocols. Sending and receiving. Connection-oriented (TCP) Connection-oriented Transport services and protocols Internet -layer protocols logical communication between processes protocols run in end systems send side: breaks app messages into segments, passes to layer rcv side: reassembles

More information

By Ossi Mokryn, Based also on slides from: the Computer Networking: A Top Down Approach Featuring the Internet by Kurose and Ross

By Ossi Mokryn, Based also on slides from: the Computer Networking: A Top Down Approach Featuring the Internet by Kurose and Ross Transport Layer By Ossi Mokryn, Based also on slides from: the Computer Networking: A Top Down Approach Featuring the Internet by Kurose and Ross Transport Layer Connectionless and connection oriented

More information

Chapter 3 outline. Chapter 3: Transport Layer. Transport vs. network layer. Transport services and protocols. Internet transport-layer protocols

Chapter 3 outline. Chapter 3: Transport Layer. Transport vs. network layer. Transport services and protocols. Internet transport-layer protocols Chapter 3: Transport Layer our goals: understand principles behind transport layer : multiplexing, demultiplexing congestion control learn about Internet transport layer protocols: UDP: connectionless

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Chapter 3: Transport Layer

Chapter 3: Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Computer Networking: A Top Down Approach

Computer Networking: A Top Down Approach Computer Networking: A Top Down Approach Seventh Edition Chapter 3 Transport Layer Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links by using INSERT+F7 Transport

More information

CS 655 System and Network Architectures and Implementation. Module 3 - Transport

CS 655 System and Network Architectures and Implementation. Module 3 - Transport CS 655 System and Network Architectures and Implementation Module 3 - Transport Martin Karsten mkarsten@uwaterloo.ca 3-1 Notice Some slides and elements of slides are taken from third-party slide sets.

More information

Data Communications & Networks. Session 6 Main Theme Reliable Data Transfer. Dr. Jean-Claude Franchitti

Data Communications & Networks. Session 6 Main Theme Reliable Data Transfer. Dr. Jean-Claude Franchitti Data Communications & Networks Session 6 Main Theme Reliable Data Transfer Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Adapted

More information

Chapter 3 Transport Layer. Chapter 3: Transport Layer. Chapter 3 outline. Our goals: understand principles behind transport layer services:

Chapter 3 Transport Layer. Chapter 3: Transport Layer. Chapter 3 outline. Our goals: understand principles behind transport layer services: Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Chapter 3. Kultida Rojviboonchai, Ph.D. Dept. of Computer Engineering Faculty of Engineering Chulalongkorn University

Chapter 3. Kultida Rojviboonchai, Ph.D. Dept. of Computer Engineering Faculty of Engineering Chulalongkorn University Chapter 3 Transport Layer Kultida Rojviboonchai, Ph.D. Dept. of Computer Engineering Faculty of Engineering Chulalongkorn University A note on the use of these ppt slides: The notes used in this course

More information

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 9

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 9 CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 9 1 Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and demultiplexing 3.3

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer Lec 9: Reliable Data Transfer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All material copyright 1996-2012 J.F Kurose

More information

Chapter 3: Transport Layer Part A

Chapter 3: Transport Layer Part A Chapter 3: Transport Layer Part A Course on Computer Communication and Networks, CTH/GU The slides are adaptation of the slides made available by the authors of the course s main textbook 3: Transport

More information

Chapter 3. Transport Layer. Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.

Chapter 3. Transport Layer. Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009. Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009. All material copyright 1996-2009 J.F Kurose and K.W. Ross, All Rights

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer Part b Connection-Oriented Transport Transport Layer 3-1 Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and demultiplexing 3.3 connectionless transport: UDP 3.4

More information

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Transport Services and Protocols. Chapter 3 Outline

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Transport Services and Protocols. Chapter 3 Outline Chapter 3 Transport Layer A note on the use of these ppt slides: The notes used in this course are substantially based on powerpoint slides developed and copyrighted by J.F. Kurose and K.W. Ross, 1996-2007

More information

Transport services and protocols. Chapter 3 Transport Layer. Chapter 3: Transport Layer. Transport vs. network layer

Transport services and protocols. Chapter 3 Transport Layer. Chapter 3: Transport Layer. Transport vs. network layer Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Chapter 3 outline. 3.5 connection-oriented transport: TCP segment structure reliable data transfer flow control connection management

Chapter 3 outline. 3.5 connection-oriented transport: TCP segment structure reliable data transfer flow control connection management Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and demultiplexing 3.3 connectionless transport: UDP 3.4 principles of reliable data transfer 3.5 connection-oriented transport: TCP segment

More information

CSC358 Week 5. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

CSC358 Week 5. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved CSC358 Week 5 Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Recap: Reliable Data Transfer rdt3.0 stop-and-wait checksum

More information

Chapter 3 Transport Layer. Chapter 3: Transport Layer. Chapter 3 outline

Chapter 3 Transport Layer. Chapter 3: Transport Layer. Chapter 3 outline Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Transport Layer. CMPS 4750/6750: Computer Networks

Transport Layer. CMPS 4750/6750: Computer Networks Transport Layer CMPS 4750/6750: Computer Networks 1 Outline Overview of transport-layer services Connectionless Transport: UDP Principles of reliable data transfer Connection-Oriented Transport: TCP TCP

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Transport Layer III Dmitri Loguinov Texas A&M University March 6, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter

More information

CSCI Computer Networks Fall 2016

CSCI Computer Networks Fall 2016 source: computer-networks-webdesign.com CSCI 4760 - Computer Networks Fall 2016 Instructor: Prof. Roberto Perdisci perdisci@cs.uga.edu These slides are adapted from the textbook slides by J.F. Kurose and

More information

CSCI Computer Networks Spring 2017

CSCI Computer Networks Spring 2017 source: computer-networks-webdesign.com CSCI 6760 - Computer Networks Spring 2017 Instructor: Prof. Roberto Perdisci perdisci@cs.uga.edu These slides are adapted from the textbook slides by J.F. Kurose

More information

Chapter 6 Transport Layer

Chapter 6 Transport Layer Chapter 6 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Fall 2012: FCM 708 Bridge Foundation I

Fall 2012: FCM 708 Bridge Foundation I Fall 2012: FCM 708 Bridge Foundation I Prof. Shamik Sengupta Instructor s Website: http://jjcweb.jjay.cuny.edu/ssengupta/ Blackboard Website: https://bbhosted.cuny.edu/ Intro to Computer Networking Transport

More information

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Transport layer. Position of transport layer. Transport layer.

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Transport layer. Position of transport layer. Transport layer. Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

CS Lecture 1 Review of Basic Protocols

CS Lecture 1 Review of Basic Protocols CS 557 - Lecture 1 Review of Basic Protocols IP - RFC 791, 1981 TCP - RFC 793, 1981 Spring 2013 These slides are a combination of two great sources: Kurose and Ross Textbook slides Steve Deering IETF Plenary

More information

COSC4377. Useful Linux Tool: screen

COSC4377. Useful Linux Tool: screen Lecture 10 Useful Linux Tool: screen Alternative to having multiple ssh/putty screens, you can have multiple virtual screens within the same session. To open a screen session: ~$ screen To suspend the

More information

Outline. TCP: Overview RFCs: 793, 1122, 1323, 2018, Development of reliable protocol Sliding window protocols

Outline. TCP: Overview RFCs: 793, 1122, 1323, 2018, Development of reliable protocol Sliding window protocols Outline Development of reliable protocol Sliding window protocols Go-Back-N, Selective Repeat Protocol performance Sockets, UDP, TCP, and IP UDP operation TCP operation connection management flow control

More information

Chapter 3: Transport Layer

Chapter 3: Transport Layer Chapter 3: Transport Layer our goals: understand principles behind transport layer services: multiplexing, demultiplexing reliable data transfer flow control congestion control learn about Internet transport

More information

Chapter 3: Transport Layer

Chapter 3: Transport Layer Chapter 3: Transport Layer our goals: understand principles behind transport layer services: multiplexing, demultiplexing reliable data transfer flow control congestion control learn about Internet transport

More information

Chapter 3: Transport Layer

Chapter 3: Transport Layer Chapter 3: Transport Layer Chapter goals: understand principles behind transport layer services: multiplexing/demultiplex ing reliable data transfer flow control congestion control instantiation and implementation

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer CSB051 Computer Networks 電腦網路 Chapter 3 Transport Layer 吳俊興國立高雄大學資訊工程學系 Spring 2006 Chapter 3: Transport Layer Our goals: understand principles behind transport layer services: multiplexing/demultipl exing

More information

Transport Layer. Dr Ahmad Al-Zubi. Transport Layer 3-1

Transport Layer. Dr Ahmad Al-Zubi. Transport Layer 3-1 Transport Layer Dr Ahmad Al-Zubi Transport Layer 3-1 Chapter 3: Transport Layer Our goals: understand d principles i learn about transport t behind transport layer protocols in the layer services: Internet:

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.10 Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and

More information

Chapter 3: Transport Layer

Chapter 3: Transport Layer Chapter 3: Transport Layer our goals: understand principles behind transport layer services: multiplexing, demultiplexing reliable data transfer flow control congestion control learn about Internet transport

More information

COMP 431 Internet Services & Protocols. Transport Layer Protocols & Services Outline. The Transport Layer Reliable data delivery & flow control in TCP

COMP 431 Internet Services & Protocols. Transport Layer Protocols & Services Outline. The Transport Layer Reliable data delivery & flow control in TCP COMP 431 Internet Services & Protocols Transport Layer Protocols & Services Outline The Transport Layer Reliable data delivery & flow control in TCP Jasleen Kaur Fundamental transport layer services» Multiplexing/Demultiplexing»

More information

CSC358 Week 4. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

CSC358 Week 4. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved CSC358 Week 4 Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Logistics Assignment 1 due this Friday Office hour on Feb

More information

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols Chapter 3 Transport Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Dr. Nils

More information

CSCD 330 Network Programming

CSCD 330 Network Programming CSCD 330 Network Programming Lecture 10 Transport Layer Continued Spring 2018 Reading: Chapter 3 Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 Last Time.

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer CSB051 Computer Networks 電腦網路 Chapter 3 Transport Layer 吳俊興國立高雄大學資訊工程學系 Chapter 3: Transport Layer Our goals: understand principles behind transport layer services: multiplexing/demultipl exing reliable

More information

TCP reliable data transfer. Chapter 3 outline. TCP sender events: TCP sender (simplified) TCP: retransmission scenarios. TCP: retransmission scenarios

TCP reliable data transfer. Chapter 3 outline. TCP sender events: TCP sender (simplified) TCP: retransmission scenarios. TCP: retransmission scenarios Chapter 3 outline TCP reliable 3.2 principles of reliable 3.3 connection-oriented flow 3.4 principles of congestion 3.5 TCP congestion TCP creates rdt service on top of IP s unreliable service pipelined

More information