COMPUTER NETWORKS 20210-2022
COMPUTER NETWORKS 20210-2022
CS 6119/IT6119
NICODEMUS SANGA
COMPUTER NETWORK
What is a computer Network?
A network is any collection of independent computers that
communicate with one another over a shared network
medium.
A computer network is a collection of two or more connected
computers.
When these computers are joined in a network, people can
share files and peripherals such as modems, printers, tape
backup drives, or CD-ROM drives.
Example of a Computer network
Characteristics of a computer network
All stations can read all the messages on the cable and this
means that someone who has access to the network with the
right software can 'grab' packets of information that they are
not entitled to!
Mesh Topology or Point to Point Network
Assignment 1.
Explain how network impact our daily lives
Network signals are transmitted through all transmission
media as a type of waveform.
When transmitted through wire and cable, the signal is an
electrical waveform. When
transmitted through fiber-optic cable, the signal is a light
wave: either visible or infrared light. When transmitted
through Earth’s atmosphere or outer space, the signal can
take the form of waves in the radio spectrum, including VHF
and microwaves, or it can be light waves, including infrared
or visible light (for example, lasers).
NEXT NETWORK PROTOCOL
Network protocol
The Local Talk protocol allows for linear bus, star, or tree
topologies using twisted pair cable.
Reliability
TCP is reliable. Data sent using a TCP protocol is guaranteed to be delivered to
the receiver. If data is lost in transit it will recover the data and resend it. TCP
will also check packets for errors and track packets so that data is not lost or
corrupted.
UDP is unreliable, it does not provide guaranteed delivery and a datagram
packet may become corrupt or lost in transit.
Acknowledgement
Flow control
TCP uses a flow control mechanism that ensures a sender is not overwhelming
a receiver by sending too many packets at once. TCP stores data in a send
buffer and receives data in a receive buffer. When an application is ready, it will
read the data from the receive buffer. If the receive buffer is full, the receiver
would not be able to handle more data and would drop it. To maintain the
amount of data that can be sent to a receiver, the receiver tells the sender how
much spare room in the receive buffer there is (receive window). Every time a
packet is received, a message is sent to the sender with the value of the current
receive window.
UDP does not provide flow control. With UDP, packets arrive in a continuous
stream or they are dropped.
Ordering
• TCP does ordering and sequencing to guarantee that packets sent from a
server will be delivered to the client in the same order they were sent. On
the other hand, UDP sends packets in any order.
Congestion control
• TCP has provisions for congestion or flow control. Since TCP is connection-
oriented, it ensures that there is no congestion on the data channel that’s
been setup. UDP is connectionless and doesn’t care much about
congestion. Each packet is sent separately and if a packet is lost due to
congestion, the recipient can’t do much about it.
Speed
• TCP is slower than UDP because it has a lot more to do. TCP has to establish
a connection, error-check, and guarantee that files are received in the order
they were sent.
Applications
TCP is best suited to be used for applications that require high
reliability where timing is less of a concern.
• World Wide Web (HTTP, HTTPS)
• File Transfer Protocol (FTP)
• Email (SMTP, IMAP/POP)
UDP is best suited for applications that require speed and
efficiency.
• Streaming videos
• Online games
• Live broadcasts
• Voice over Internet Protocol (VoIP)
Data Terminal Equipment (DTE)
Data Terminal Equipment (DTE) is any equipment that is either a
source or destination for digital data.
DTE do not generally communicate with each other to do so they
need to use DCE (data circuit-terminating equipment) to carry
out the communication.
DTE does not need to know how data is sent or received; the
communications details are left to the DCE.
A typical example of DTE is a computer.
A data circuit-terminating equipment (DCE) is a device that sits
between the data terminal equipment (DTE) and a data
transmission circuit.
Other common DTE examples include:
• Printers
• File and application servers
• PCs
• Dumb Terminals
• Routers
Public Switched Telephone Network – PSTN
The term Public Switched Telephone Network (PSTN) describes
the various equipment and interconnecting facilities that provide
phone service to the public.
The network continues to evolve with the introduction of new
technologies.
PSTN is a network of computers and other electronic equipment
that converts speech into digital data and provides a multitude of
sophisticated phone features, data services, and mobile wireless
access.
PSTN voice facilities transport speech or voice-band data, which
is data that has been modulated to voice frequencies.
Integrated Services Digital Network(ISDN)
Integrated Services Digital Network (ISDN) is a set of
communication standards for simultaneous digital
transmission of voice, video, data, and other network
services over the traditional circuits of the public switched
telephone network.