3D3-Computer-Network

Computer Networks

Remember kbps is kilo bits, kBps is kilobytes

Section 1:

Section 1.1

The internet: a “nuts and bolts” view

Billions of connected computing devices

Packet switches: forward packets (chunks of data) (moves packets)

Communication links

Networks

Internet: “network of networks”

Protocols are everywhere

Internet standards (who define the protocols)

The Internet: a “services” view

Infrastructure that provides services to applications:

Provides programming interface to distributed applications:

Section 1.2

Frequency division multiplexing used in cables as well to send data on different frequenies.

Section 1.3

Packet switching

Forwarding is a local action in the router, which looks up where the pack is going through a table.

Routing is a global action that routes the packet to the destination.

alt text

Circuit switching

Section 1.4

alt text alt text alt text

Throughput

Section 1.5

alt text alt text

Section 1.6

Bad attackers

Lines of defence

Section 1.7

Section 2: Application Layer

Section 2.1: Principles of Network Applications

Client-server

Server

Client

Peer-peer

Processes communicating

Process are programs running within a hosst

Process that initiates the communication is called the client process

Process that waits to be contacted is the server process

Sockets

alt text

Addressing process

Application layer protocol defines:

RFC: Request for comments

Two types of protocols

What transport service does an app need

Internet transport protocols services

alt text

Section 2.2: Web and HTTP

HTTP

Types of HTTP alt text

alt text

HTTP protocol

Request alt text

alt text

Response alt text

alt text

Cookies alt text

Section 2.2: HTTP

Caching servers reduces totoal time ti takes to get the object

Using conditional get to check the object is up to date

Section 2.3: EMail

SMTP RFC

alt text

alt text

2.4 Domain name system

alt text

alt text

Iteration used a lot more than recursive

Section 2.5 file transfer protocol

Basic working of ftp is it opens the control connection, sends and gets the relevant stuff, once its allowed to send or get the file, it opens another data connection to get/send the file and hten close the data channel. If wants to send another channel then another data channel will be opened.

2.6 Video streaming

Section 3: Transport layer

3.2 Multiplexing and demultiplexing

UDP and TCP have differet ways of doing it

UDP

Checksum

3.4: Reliable data transfer

rdt 3.0: adds more sequence numbers and can send more packets at once which leads to pipelining

Section 6: Link Layer

Section 6.2: Error Detection and Correction Techniques

Link for a simple example on CRC

Key points: