CSE 3214 Computer Networks Protocols and Applications

Cse 3214 Computer Networks Protocols And Applications-Free PDF

  • Date:12 Nov 2019
  • Views:111
  • Downloads:0
  • Pages:45
  • Size:1.64 MB

Share Pdf : Cse 3214 Computer Networks Protocols And Applications

Download and Preview : Cse 3214 Computer Networks Protocols And Applications


Report CopyRight/DMCA Form For : Cse 3214 Computer Networks Protocols And Applications


Transcription:

Next,n The transport layer, 2 9 2017 CSE 3214 S Datta 2. Chapter 3 Transport Layer,Our goals , n understand principles n learn about transport layer. behind transport layer protocols in the Internet . services n UDP connectionless, transport, n multiplexing demultiplex . ing n TCP connection oriented, transport, n reliable data transfer. n TCP congestion control, n flow control, n congestion control.
2 9 2017 CSE 3214 S Datta 3, Chapter 3 outline,n 3 1 Transport layer n 3 5 Connection oriented. services transport TCP, n segment structure,n 3 2 Multiplexing and. n reliable data transfer, demultiplexing, n flow control. n 3 3 Connectionless, n connection management, transport UDP. n 3 6 Principles of,n 3 4 Principles of reliable, congestion control.
data transfer, n 3 7 TCP congestion, LEAVE OUT control. 2 9 2017 CSE 3214 S Datta 4, Transport services and protocols. n provide logical communication application, transport. between app processes network, data link network, running on different hosts physical data link. network physical,n transport protocols run in end data link.
physical, systems, lo tr, network, gi a n, data link. ca sp, n send side breaks app physical network, l e or. data link, nd t, messages into segments physical, e. nd, passes to network layer network, data link, physical. n rcv side reassembles, segments into messages application.
transport, passes to app layer network, data link. n more than one transport physical, protocol available to apps. n Internet TCP and UDP, 2 9 2017 CSE 3214 S Datta 5. Transport vs network layer,n network layer logical. Household analogy , communication between hosts, 12 kids sending letters to 12.
n transport layer logical, kids, communication between. processes n processes kids, n relies on enhances network n app messages letters in. layer services envelopes, n hosts houses, n transport protocol Ann and. Bill, n network layer protocol , postal service, 2 9 2017 CSE 3214 S Datta 6. Internet transport layer protocols,n reliable in order delivery application.
transport, TCP network, data link network, n congestion control physical data link. network physical, n flow control data link, physical. lo tr, n connection setup network, gi a n, data link. ca sp, unreliable unordered delivery physical network. l e or,n, data link, nd t, UDP physical, e, nd, network.
n no frills extension of best data link, physical. effort IP,n services not available application, transport. n delay guarantees network, data link, physical, n bandwidth guarantees. 2 9 2017 CSE 3214 S Datta 7, Chapter 3 outline,n 3 1 Transport layer n 3 5 Connection oriented. services transport TCP,n 3 2 Multiplexing and n segment structure.
demultiplexing n reliable data transfer, flow control. n 3 3 Connectionless n, connection management, transport UDP n. n 3 4 Principles of reliable n 3 6 Principles of, data transfer congestion control. n 3 7 TCP congestion, control, 2 9 2017 CSE 3214 S Datta 8. Multiplexing demultiplexing, Demultiplexing at rcv host Multiplexing at send host .
gathering data from multiple,delivering received segments. sockets enveloping data with,to correct socket, header later used for. demultiplexing , socket process, P3 P1, P1 P2 P4 application. application application, transport transport transport. network network network, link link link, physical physical physical.
host 2 host 3, host 1, 2 9 2017 CSE 3214 S Datta 9. How demultiplexing works,n host receives IP datagrams. n each datagram has source IP 32 bits, address destination IP. address source port dest port , n each datagram carries 1. transport layer segment other header fields, n each segment has source .
destination port number, recall well known port application. numbers for specific data, applications message ,n host uses IP addresses port. numbers to direct segment to, appropriate socket TCP UDP segment format. 2 9 2017 CSE 3214 S Datta 10, Connectionless demultiplexing. n Create sockets with port numbers ,DatagramSocket mySocket1 new.
n When host receives UDP, DatagramSocket 99111 segment . DatagramSocket mySocket2 new n checks destination port. DatagramSocket 99222 , number in segment,n UDP socket identified by two tuple . n directs UDP segment to, dest IP address dest port number socket with that port number. n IP datagrams with, different source IP, addresses and or source. port numbers directed to, same socket, 2 9 2017 CSE 3214 S Datta 11.
Connectionless demux cont , DatagramSocket serverSocket new DatagramSocket 6428 . P2 P1, P1, P3, SP SP , 6428, DP 6428, DP , 9157 5775. SP SP , 9157, DP 5775, DP , client 6428 server 6428 Client. IP A IP C IP B, SP provides return address , 2 9 2017 CSE 3214 S Datta 12. Connection oriented demux, n TCP socket identified by n Server host may support many.
4 tuple simultaneous TCP sockets , n source IP address n each socket identified by its. n source port number own 4 tuple, n dest IP address n Web servers have different. n dest port number sockets for each connecting,n recv host uses all four values client. to direct segment to n non persistent HTTP will have. appropriate socket different socket for each, request. 2 9 2017 CSE 3214 S Datta 13, Connection oriented demux cont .
P P P P1P3, P1 P2, 4 5 6, SP , 5775, DP 80, S IP B. D IP C, SP , SP 9157, 9157,client DP 80 DP 80 Client. server,IP A S IP A, IP C S IP B IP B, D IP C D IP C. 2 9 2017 CSE 3214 S Datta 14, Connection oriented demux Threaded Web Server. P1 P4 P2 P1P3, SP , 5775, DP 80, S IP B, D IP C, SP .
SP 9157, 9157, client DP 80 DP 80 Client, server, IP A S IP A. IP C S IP B IP B, D IP C D IP C, 2 9 2017 CSE 3214 S Datta 15. 2 9 2017 CSE 3214 S Datta 4 Chapter 3 outline n 3 1 Transport layer services n 3 2 Multiplexing and demultiplexing n 3 3 Connectionless transport UDP n 3 4 Principles of reliable data transfer LEAVE OUT n 3 5 Connection oriented transport TCP n segment structure n reliable data transfer n flow control n connection management n 3 6 Principles of congestion control

Related Books