Internet Applications & Programming

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Advertisements

Chapter 7 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain the need for the transport layer.  Identify.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Network Services Networking for Home & Small Business.
TCP/IP summary Skills: none IT concepts: review This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike 3.0 License.
1 Java Networking – Part I CS , Spring 2008/9.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Application Layer PART VI.
Networking Support In Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
Chapter 26 Client Server Interaction Communication across a computer network requires a pair of application programs to cooperate. One application on one.
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.
1 Chapter Client-Server Interaction. 2 Functionality  Transport layer and layers below  Basic communication  Reliability  Application layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
Network Services Networking for Home & Small Business.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Jozef Goetz, Application Layer PART VI Jozef Goetz, Position of application layer The application layer enables the user, whether human.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.6 UDP Principles (Chapter 24) (User Datagram Protocol)

Dr. John P. Abraham Professor University of Texas Pan American Internet Applications and Network Programming.
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
Networking Basics CCNA 1 Chapter 11.
1 Client-Server Interaction. 2 Functionality Transport layer and layers below –Basic communication –Reliability Application layer –Abstractions Files.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
1 User Datagram Protocol. 2 Transport Protocols Provide logical communication between application processes running on different hosts Run on end hosts.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
COMPUTER NETWORKS Hwajung Lee. Image Source:
1 Network Communications A Brief Introduction. 2 Network Communications.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
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.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Introduction to Networks
Chapter 5 Network and Transport Layers
Transport Layer Slides are originally from instructor: Carey Williamson at University of Calgary Very minor modification are made Notes derived from “Computer.
Chapter 3 outline 3.1 Transport-layer services
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Chapter 5 Network and Transport Layers
Client-Server Model and Sockets
Chapter 3 Internet Applications and Network Programming
Introduction and Overview of Network and Telecommunications (contd.)
Some bits on how it works
Networking for Home and Small Businesses – Chapter 6
Working at a Small-to-Medium Business or ISP – Chapter 7
Introduction to Networks
Client-Server Interaction
Networking for Home and Small Businesses – Chapter 6
Working at a Small-to-Medium Business or ISP – Chapter 7
Chapter 2 Introduction Application Requirements VS. Transport Services
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
I. Basic Network Concepts
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Working at a Small-to-Medium Business or ISP – Chapter 7
Multimedia and Networks
Process-to-Process Delivery:
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Starting TCP Connection – A High Level View
TCP/IP Protocol Suite: Review
CSCD 330 Network Programming
Computer Networks Topic :User datagram protocol Transmission Control Protocol -Hemashree S( )
Networking for Home and Small Businesses – Chapter 6
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Computer Networks Protocols
UDP Principles (Chapter 24) (User Datagram Protocol)
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Presentation transcript:

Internet Applications & Programming Chapter 3 Internet Applications & Programming © Bobby Hoggard, Department of Computer Science, East Carolina University These slides may not be used or duplicated without permission

Internet Applications The Internet is diverse with services None of the services is part of the Internet structure The Internet provides a common communication medium New services can be created

Two Communication Means Stream Message Connection Oriented 1-to-1 Communication Send Sequence of Bytes Any Length Transfer Widely Used TCP Connectionless Many-to-Many Send Individual Message Limited to 64K Multimedia Applications UDP

Messages (UDP) Connection-less: Very little set-up involved A packet sent represents and entire message as it was originally sent No guarantee that messages sent will be received Messages can be lost Messages can be duplicated Messages can be delivered out of order Faster: no error checking involved Examples of uses include: DNS (domain name lookup) VOIP (voice over IP) Some Games

Streams (TCP) Connection Oriented Guaranteed delivery of packets Two applications must agree on having a connection created Both applications can send and receive After communication is finished, connection is terminated Guaranteed delivery of packets Packets are guaranteed to be in the same order sent Slower: due to the error checking involved Examples of uses include: HTTP (web service) FTP (file transfer) SMTP (email service)

Streams (TCP) Uses a client / server model Client: application which requests a connection to be made Server: application which waits for connection requests

Clients vs. Servers Client Server Starts second Must know the server to which it will connect Initiates contact when needed Can send & receive When finished, the client shuts down Starts first Does not know which client will communicate Passively waits for long periods of time for a connection to be made Can send & receive When finished, waits for another connection

Multiple Clients It is possible (and very common) to have multiple clients operating on one machine All clients can communicate with the same server All clients can communicate with different servers

Multiple Servers It is possible to have multiple servers operating on one machine More efficient use of the machine Makes use of idle time between connections Can be problematic if the servers are busy

Server Identification Servers are identified by a 2-part identification number Computer Identifier Service Identifier IP Address 32-bit number Port Number 16-bit number Domain Name Translator

Server Identification Each service on the server computer has a unique port number When the server starts it registers its port number with the operating system This is what allows the OS to send requests to the correct program when multiple servers are on the same machine Two commonly used port numbers are: port 80 = web browsing port 25 = email service

Server Identification Web Server Client Computer Server Computer 1 Request IP Address Port Number Email Server Request IP Address Port Number Server Computer 2

Client/Server Interaction Start Get Server Name Translate To IP Address Specify Port Number Contact Server Stop Start Register Port # with OS Wait For Client Interact With Client Finished

Concurrent Server Processing Server uses a thread of control for each client Will have a main thread and one thread for each client it is processing The main thread waits for connections and handles the connection set up Once the connection has been made, a client thread is created to continue the communication, while the main thread continues to wait for more requests

Servers Can Be Clients! Web Browser Client Computer Request For ASPX page Web Server Request For Data Database Server HTML page Data CLIENT SERVER CLIENT SERVER