CSIS 350 Data comms

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

23 Terms

1
New cards

TCP service

Reliable, flow control, congestion control, connection - oriented •but bigger than UDP so slower

2
New cards

UDP service

Unreliable, no connection set up, no guarantees. But smaller so faster

3
New cards

Stateless

Server keeps no info about past clients requests

4
New cards

Nonpersistent HTTP

A separate TCP connection is established for each requested object (HTML file or image). One connection closes after the object is transferred • requires approximately 2 RTTS and file transmission time per object

5
New cards

Cookies

State kept across http transactions I set cookie header in response cookie header in next request, cookie file on the user's host, back-end database at the site

6
New cards

Cookies

State kept across http transactions I set cookie header in response cookie header in next request, cookie file on the user's host, back-end database at the site

7
New cards

DNS

Distributed, hierarical database mapping names to IPs. Records: A ( hosts → IP).NS( domain → authoritative server), name calls → canonical name ),mx (mail server)

8
New cards

Stop and wait protocol

A protocol where the sender transmits one packet and then pauses waiting fora receiver acknowledgement before sending the next packet - when if packet is lost then waits for time out to retransmit packet

9
New cards
10
New cards
  1. Application layer


Provides network services to applications and defines how application processes send and receive messages. Ex: HTTP, DNS, SMTP, IMAP. Addresses through domain names, URLs, and application specific identifiers where applicable

11
New cards
  1. Transport layer


Provides logical communication between application processes running on different hosts. TCP offers reliable delivery, control, ordered delivery, and congestion control. UDP provides connectionless delivery. Addresses by port numbers

12
New cards

Transport protocol actions in end systems

Sender: breaks application messages into segments, basses to network layer Receiver: reassembles segments into messages passes to application layer

13
New cards
  1. Network layer


Delivers packets between hosts across networks through forwarding and routing • addresses by IP addresses. Logical communication between hosts.

14
New cards
  1. Link layer


Transfers frames between neighboring nodes on the same link handing frame and link level error detection

15
New cards
  1. Physical layer


Transmits individual bits as electrical, optical, or radio signals across physical media

16
New cards

Multiplexing at sender

Handle data from multiple sockets, add transport header later used for demultiplexing)

17
New cards

Demultiplexing at receiver

Use header info to deliver received segments to correct socket

18
New cards

How demultiplexing works

Host receives ip datagrams • each datagram has source and destination IP addresses. Each datagram carries one transport layer segment • each segment has source, destination past number • host uses IP address and port number to direct segment to appropriate socket

19
New cards

Connectionless demultiplexing

Datagram to upp socket needs destination I p address and destination port. Datagrams with same destination part numbers but different source IP or port numbers will be directed to the same socket.

20
New cards

Connection oriented demultiplexing

Identified by all 4: source IP, source port, destination IP, destination port number . Needs all 4 values to direct segment to appropriate socket

21
New cards

Stop and wait protocol (rat 3.0)

The sender sends one packet and waits for its acknowledgement before sending the next packet. Uses alternating sequences Co and 1) •reliable because sender doesn't advance until acknowledged. When packet is lost then times out and waits to resend until successfully acknowledged. Inefficient because waiting and time outs can be slow and can only have one outstanding packet,

22
New cards

Go back N

Allows multiple packets to be sent before ack returns (called pipelining). N is max number of unacknowledged packets allowed in the sender's window. Uses timer for the oldest outstanding packet. Receiver discards out of order packets and repeats the ack for the last correctly received in order packet. Time out retransmits the oldest unacknowledged packet and al subsequent unacknowledged packets in the window.

23
New cards

Selective repeat ( r dt)

Sender can nave multiple packets sent, but receiver can accept and buffer out of order packets. Sender retransmits only the specific packet that needs retransmission