You are on page 1of 59

Internet Programming

(INSC 2101)
Avoid Carelessness

1
Chapter One
Basics of Networking and Internet

2
Chapter objective
→To know basics of network and internet
→To know about working system of globally
connected devices
→To know basics of network protocols
→ To know basics of internet service
provider(ISP)

3
Chapter Contents
→Classification of Network

→Networking Services

→History of Internet

→Basic Terminology used in Internet Technology

→Architecture of the web.

→Stateless nature of http

→http authentication

→http header 4
What is Network and Why?

5
6
7
8
,

9
10
11
12
13
14
Internet and Related Components

15
16
History of internet

17
.

18
.

19
How Internet works?

20
Internet service Provider/ISP/ And types

21
22
ISP

23
Internet/Network/ Services

24
25
26
27
28
29
30
Common Components in Internet Technology

31
Client and Server

32
Client – Server Architecture

33
Types of servers

34
35
36
37
38
39
URL, URI, URN
URI, Uniform Resource Identifier
 define how to uniquely identify a resource on the internet
 is divided into the subgroups URL and URN
URL, Uniform Resource Locator
 a reference for an address on the internet
looks like: protocol://host[:port]/path/file[#section]
eg: http://www.csc.kth.se:8080/dd1335/gruint09/labs/#lab2

URN, Universal Resource Name


 a ”pointer” to a resource without specifying its exact position, eg.
the search for a certain kind of documents may deliver the set of
URLs (the positions of all the documents)

40
Uniform Resource Locator URL/Web address/

→The URLs have several different elements you might encounter in web
addresses — protocols, domains, sub domains, TLDS, paths, and named
anchors.
→Most of the time, you don’t need to know about all these different parts of
a web address — you just click on a link or type in an address and
everything is fine.
41
URL Format

42
D/t Examples of URL

→https://websitebuilders.com
→ https://www.facebook.com/Learn-the-Net-330002341216/

→ftp://aeneas.mit.edu/
→ https://en.wikipedia.org/wiki/Internet#Terminology

43
ftp://aeneas.mit.edu/

• This URL is for an FTP server at MIT (Massachusetts Institute of


Technology).
• The protocol is ftp, or File Transfer Protocol. This is not used for
interacting with a document in a browser, but rather for uploading and
downloading files.
• The TLD is .edu, indicating that the site is run by a college or university.
• The domain name is mit.edu, indicating it is owned or controlled by
MIT.
• The sub domain is aeneas.
• The hostname is aeneas.mit.edu.
• There is no path, so this is the index for the file system.

44
Class-Activity

Mention parts of the ff URL address correctly.

→https://websitebuilders.com

→https://www.facebook.com/Learn-the-Net-330
002341216/
→ftp://aeneas.mit.edu/

→https://en.wikipedia.org/wiki/Internet#Te
rminology 45
→Computers communicate each other using IP address. Human
beings communicate each other using names and the similar
languages.
→But computers and human beings can’t communicate.
→To solve this problem network engineers developed Domain Name
system which resolves names to numbers/ Domain names to IP
addresses./ 46
Domain Name System (DNS)

→DNS is often referred to as the internet's phone book


because it converts easy-to-remember hostnames
like www.google.com, to IP addresses.
→In DNS the process of looking up host names for
corresponding IP addresses is called name resolution. 47
How Does DNS Work?

48
Benefits of DNS

49
50
51
52
Network Protocols

53
54
Common Network protocols

55
HTTP/protocol of the web/

56
57
58
Explanation

59

You might also like