Internet Communication Models. Two Communication Paradigms: Stream vs. Message StreamMessage Connection-orientedConnectionless 1-1 communication1-1, 1-many,

Slides:



Advertisements
Similar presentations
Computer networks Fundamentals of Information Technology Session 6.
Advertisements

Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
28.2 Functionality Application Software Provides Applications supply the high-level services that user access, and determine how users perceive the capabilities.
Slide 1 Client / Server Paradigm. Slide 2 Outline: Client / Server Paradigm Client / Server Model of Interaction Server Design Issues C/ S Points of Interaction.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Socket Programming.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
What Is TCP/IP? The large collection of networking protocols and services called TCP/IP denotes far more than the combination of the two key protocols.
I NTRODUCTION OF S OCKET P ROGRAMMING L.Aseel AlTurki King Saud University.
Chapter 26 Client Server Interaction Communication across a computer network requires a pair of application programs to cooperate. One application on one.
CSIT 320 (Blum)1 Client-Server Interaction Based on Appendix 1 in Computer Networks and Internets, Comer.
Process-to-Process Delivery:
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
TCP/IP protocols Communication over Internet is mostly TCP/IP (Transmission Control Protocol over Internet Protocol) TCP/IP "stack" is software which allows.
Advanced Programming Rabie A. Ramadan.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
1 Chapter Client-Server Interaction. 2 Functionality  Transport layer and layers below  Basic communication  Reliability  Application layer.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
TCP/IP: Basics1 User Datagram Protocol (UDP) Another protocol at transport layer is UDP. It is Connectionless protocol i.e. no need to establish & terminate.
IP and Errors IP Best Effort Datagrams can be: –Lost –Delayed –Duplicated –Delivered out of order –Corrupted.
1 Computer Networks DA Chapter 1-3 Introduction.
Huda AL_Omairl - Network 71 Protocols and Network Software.
What makes a network good? Ch 2.1: Principles of Network Apps 2: Application Layer1.
Jozef Goetz, Application Layer PART VI Jozef Goetz, Position of application layer The application layer enables the user, whether human.
I. Basic Network Concepts. I.1 Networks Network Node Address Packet Protocol.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.

TCP/IP Transport and Application (Topic 6)
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
Dr. John P. Abraham Professor University of Texas Pan American Internet Applications and Network Programming.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
The InetAddress Class A class for storing and managing internet addresses (both as IP numbers and as names). The are no constructors but “class factory”
Position of application layer. Application layer duties.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
Transport Layer 3-1 Chapter 3 Outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP.
Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
Networking Basics CCNA 1 Chapter 11.
1 Client-Server Interaction. 2 Functionality Transport layer and layers below –Basic communication –Reliability Application layer –Abstractions Files.
Protocols COM211 Communications and Networks CDA College Olga Pelekanou
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
The Client Server Model And Software Design
MULTIPLEXING/DEMULTIPLEXING, CONNECTIONLESS TRANSPORT.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Java’s networking capabilities are declared by the classes and interfaces of package java.net, through which Java offers stream-based communications that.
1 Network Communications A Brief Introduction. 2 Network Communications.
2.2 Interfacing Computers MR JOSEPH TAN CHOO KEE TUESDAY 1330 TO 1530
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
1 K. Salah Application Layer Module K. Salah Network layer duties.
Process-to-Process Delivery:
Introduction and Overview of Network and Telecommunications (contd.)
UDP: User Datagram Protocol. What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host – treats a computer as an.
Client-Server Model and Sockets
Chapter 3 Internet Applications and Network Programming
Introduction and Overview of Network and Telecommunications (contd.)
Client-Server Interaction
I. Basic Network Concepts
Process-to-Process Delivery:
Internet Applications & Programming
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Computer Networks Protocols
Presentation transcript:

Internet Communication Models

Two Communication Paradigms: Stream vs. Message StreamMessage Connection-orientedConnectionless 1-1 communication1-1, 1-many, many-many Sequence of bytesSequence of messages Arbitrary length transferLimited to 64K bytes Widely usedMultimedia applications Based on TCP (Guaranteed)Built on UDP (Not Guaranteed)

Message (Connectionless) Transport In the Internet The message service does not make any guarantees. A packet may be – Lost – Duplicated – Delayed – Delivered out-of-order A programmer who chooses the message service must ensure that the application operates correctly, even if packets are lost or reordered.

Why using message service? Fine application-level control over what data is sent, and when No connection establishment – Get straight to the point No connection state – A server can support more active clients simultaneously Small packet header overhead

Some Examples ApplicationTCP or UDP? TCP Remote terminal accessTCP WebTCP File transferTCP Remote file serverTypically UDP Streaming multimediaUDP, TCP Internet telephonyUDP, TCP Name translationTypically UDP TCP today: >95% Internet traffic ~75% on-demand and live streaming

Stream (Connection-Oriented) Communication Usually, a machine, or a server, is out there waiting for connection calls. – Port is open. Web browser Web server

Client-Server Server SoftwareClient Software Starts firstStarts second No need to know clients (can have access limits) Must know which server to visit Passively waits for clientsActively initiates contact Available most of timeTerminated after work

Why Client/Server Structure? Specialization: – Clients: user interface and data presentation. – Servers: managing data and providing services. Web servers, server, database server Type of clients does not matter. Sharing: – Many clients can be supported by few servers. Google.com – Not just one server, but multiple servers.

Server-Class Machine vs. Server Service Server-class computers – Powerful hardware Speed, bandwidth, storage capacity, etc. Server software – Usually hosted in server computers – But can also be run in less-powerful machines Windows 7 have several server software running: Remote desktop Mobile Phone – Windows PCs v.s. Unix/Linux machines Windows: clear distinction between client and server – Few server services in client PCs (Windows 7, XP, etc.) – Windows Server does not have a strong support for client applications. Unix/Linux: a machine is both server and client. – Has both client and server software.

IP-Ready Devices Clients and servers do not have to be PC-like devices. IP Cameras – Cameras have a web server built in and can have their own IPs. – Can be directly accessed through the Internet. IP-Enabled home automation – IP-enabled appliance – Smart TV

Peer-To-Peer Motivation: Client/Server model create a central bottleneck between the Internet and the server

Peer-To-Peer Idea: no dedicated server machine is necessary. – Client machines communicate with each others.

Music Swap: C/S Model server Machine A 1. I want “Grenade by Bruno Mars” 2. Here it is.

Music Swap: P2P Model I want “Grenade by Bruno Mars”. My address is … I want “Grenade by Bruno Mars”. My address is … Someone wants “Grenade by Bruno Mars”. The address is … Someone wants “Grenade by Bruno Mars”. The address is … I have it.

Distinctions Client-server – Asymmetric relationship Client make requests, and a server simply replies. – Dedicated servers with server software Peer-to-peer – Symmetric relationship A machine is a server and a client. – Server software on client machines

Social Consequences Intellectual property – Servers can be easily targeted. Napster (previous life) failed. – How about machines in P2P? MPAA and RIAA against college students Lawsuits against software developers, website that index pirated contents, … Pressures on service providers – Comcast

Ch – 3.23 Concepts related to network programming – Not a concern of midterms.

After Class Read Ch. 4 – Internet applications