204325 data communication and computer networks · 1 data communication and computer networks...

Post on 24-Aug-2020

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Data Communication and Computer Networks

รศ.ดร.อนนัต์ ผลเพิ่มAsso. Prof. Anan Phonphoem, Ph.D.

anan.p@ku.ac.th

http://www.cpe.ku.ac.th/~anan

Computer Engineering Department

Kasetsart University, Bangkok, Thailand

Aug 2016

2

Outline

Growth of Computer Networking

Motivation

Data Communication

Networks

Protocols and Standards

Standard Organizations

Recent and Future Trends

The availability of high-quality teleconferencing systems

Some social networking applications such as

Facebook

Twitter

Google+

Many others

The Internet of Things (IoT) 3

4

Future of the Internet

http://www.computerworld.com/s/article/9207961/Update_ICANN_assigns_its_last_IPv4_addresses

Internet of Things

5

http://www.opinno.com/en/content/internet-things-0

Connected Living

6https://devcentral.f5.com/articles/security-sidebar-defending-the-internet-of-things

Connected Living

7http://www.jumpthecurve.net/wp-content/uploads/2014/03/ericssonthings1.jpg

8

Future of the Internet

http://www.itworld.com/networking/231929/usenix-google-deploys-ipv6-internal-network

#Mobile Phone Subscribers

9http://www.itu.int/en/ITU-D/Statistics/Pages/stat/default.aspx

10

Internet Users in Thailand

http://internet.nectec.or.th

13.4 M

Internet Users in Thailand

11

1991

1995

2000

2005

2010

2015

2016

#People

(M

illio

n)

http://internet.nectec.or.th

12

Ping

13

Trace Route

14

“Warriors of The Net”

Sit Back and Relax

… Enjoy the show

http://www.warriorsofthe.net/

15

Motivation

People

Communication Goal

Exchange / Share information (data)

Communication method

Past Present

Local Talk

Gesture

Printed document Electronic Document

Remote Mail

Telephone

TV

Email

Wireless Phone, Video Phone

Video conferencing

16

Motivation

The Changes

Efficiency way to communicate

Sharing data and resources

Time – Faster

Size – bigger

Correctness – Accurate

Accessibility – Easier

17

Networks

SD

iMac

Set of Devices

Media Links

18

How can the communication happen ?

19

Data Communication

Hi

How are you

doing?

How are youdoing?

Hi

01010001 01010001

Hi

10010001 10010001

How are you

01010100 01010100

doing?

Hi

How are you

doing?

UserComputer

20

Data Comm. Components

Hi

How are you

doing?

5 Protocol

4 Medium

3 Receiver2 Sender

1 Message

21

Client-Server Paradigm

Client

Server

22

Application Program Interface (API)

Set of operation for application programmer

Specify arguments and semantics

23

Example API

24

send_eofrecv

API Calls

send

recv

await_contact

Server

recv

send

make_contact

Client

25

API Data Type

To make it independent of OS and Network software

26

Example API Calls

send_eofrecv

send

recv

await_contact

Server

recv

send

make_contact

Client

connection await_contact(appnum a)

connection make_contact(computer c, appnum a)

int send(connection con, char *buffer, int length, int flag)

int recv(connection con, char *buffer, int length, int flag)

27

Echo Application

echoserver.c

echoclient.c

> echoserver 3800

> echoclient master.cpe.ku.ac.th 3800

HW assignment

1. Plot trend of #computer growth

2. Plot trend of #mobile phone growth

• Thailand

• Average of South East Asia Countries

• Select one country by your own

28

29

Summary

Data Communication components

Network application program and API

top related