Lecture 1 Overview of Socket Programming Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.

Slides:



Advertisements
Similar presentations
MCT620 – Distributed Systems
Advertisements

PJC CCNA Semester 2 Ver. 3.0 by William Kelly
Computer Networks TCP/IP Protocol Suite.
Ch 20. Internet Protocol (IP) Internetworking PHY and data link layers operate locally.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA TCP/IP Protocol Suite and IP Addressing Halmstad University Olga Torstensson
TCP/IP MODEL Maninder Kaur
1 Ports and IPv6. 2 Ports Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP), used for communication Generally speaking, a computer.
Lecture 2b Sockets Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
Skills: Concepts: layered protocols, transport layer functions, TCP and UDP protocols, isochronous applications This work is licensed under a Creative.
TCP/IP: the transport layer Skills: none IT concepts: layered protocols, transport layer functions, TCP and UDP protocols, isochronous applications This.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Networking Support In Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Chapter Overview TCP/IP Protocols IP Addressing.
Lecture 8 Modeling & Simulation of Communication Networks.
Process-to-Process Delivery:
TCP/IP Sockets in Java: Practical Guide for Programmers Kenneth L. Calvert Michael J. Donahoo.
TCP/IP protocols Communication over Internet is mostly TCP/IP (Transmission Control Protocol over Internet Protocol) TCP/IP "stack" is software which allows.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Computer Networks. IP Addresses Before we communicate with a computer on the network we have to be able to identify it. Every computer on a network must.
13/09/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Transport layer and Application Layer Slide 1.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
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.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Examining TCP/IP.
TCP/IP Networking Review Covered Subjects:  Packet Switched Network Structure  Issues of PSNs  Ports & IP Numbers  Delivery Services  Domain Name.
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.
Chapter 5 Transport layer With special emphasis on Transmission Control Protocol (TCP)
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 2: TCP/IP Architecture.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.

TCP/IP Transport and Application (Topic 6)
1 Introductory material. This module illustrates the interactions of the protocols of the TCP/IP protocol suite with the help of an example. The example.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
Presented by Rebecca Meinhold But How Does the Internet Work?
Socket Programming Introduction. Socket Definition A network socket is one endpoint in a two-way communication flow between two programs running over.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
Cisco Discovery Semester 1 Chapter 6 JEOPADY RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
Computer Communication: An example What happens when I click on
Network protocles (TCP), (UDP), (DHCP), (DNS) DR:abd alrauoof alshtawi
TCP/IP Protocol Suite ©Richard L. Goldman September 25, 2002.
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
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.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
Lecture 4 : Network Architectures (cont..) 1. 2 Summary of OSI Layers.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Lecture 6 Threads Erick Pranata
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Implementing TCP/IP.
The Pocket Guide to TCP/IP Sockets: C Version
Network Architecture Introductory material
Review of Important Networking 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.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
TCP/IP Networking An Example
IS 4506 Server Configuration (HTTP Server)
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Process-to-Process Delivery: UDP, TCP
TCP/IP Sockets in Java: Practical Guide for Programmers
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
IS 4506 Configuring the FTP Service
Presentation transcript:

Lecture 1 Overview of Socket Programming Erick Pranata © Sekolah Tinggi Teknik Surabaya 1

» Hosts and Routers » Communication Channel » Packets » Protocol » TCP/IP as Protocol Suite ˃Internet Protocol (IP) ˃Transmission Control Protocol (TCP) ˃User Datagram Protocol (UDP) 2 © Sekolah Tinggi Teknik Surabaya

3 David Makofske, Michael J. Donahoo, Kenneth L. Calvert, TCP/IP Sockets in C#: Practical Guide for Programmers, Morgan Kaufmann, 2004, p. 3

GUI being Displayed Application TCP UDP Transport Internet Protocol Datagram Service Internet Routing Network Interface 4 © Sekolah Tinggi Teknik Surabaya

» Datagram Service ˃Each IP packet has destination address ˃Best-effort Protocol +May lose +Needs to be reordered +Duplicate packets » TCP and UDP utilize Port Numbers » TCP and UDP are called end-to-end transport » TCP provides error recovery on host-to- host channel ˃UDP doesn’t 5 © Sekolah Tinggi Teknik Surabaya

» Internet Address (IP) ˃32-bit (e.g , dotted-quad notation): IPv4 ˃128-bit: IPv6 » Port Number (TCP and UDP) ˃16-bit unsigned binary (1 to ) 6 © Sekolah Tinggi Teknik Surabaya

» Example: host.example.com » IP deals with numerical addresses, not names » TCP/IP doesn’t need names ˃It requires extra work to resolve name into address » Advantages: ˃Easier to remember ˃Insulates users from IP address changes » Name-resolution Service ˃DNS ˃Local Configuration Database 7 © Sekolah Tinggi Teknik Surabaya

» Client program initiates communication » Server program ˃Waits passively ˃Responds to clients that contact it » Example: ˃Database Application ˃Web Application ˃Directory Services 8 © Sekolah Tinggi Teknik Surabaya

» Client needs to know server’s address and port, not vice versa » Server’s address: through name or IP Address » Server’s port number ˃Convention (Internet Assigned Number Authority) +21: FTP +80: HTTP ˃Custom port number 9 © Sekolah Tinggi Teknik Surabaya

» An abstraction which allow an application to send and receive data » Different types of socket correspond with different types of protocol suites » TCP/IP Sockets: ˃Stream Sockets (TCP) ˃Datagram Sockets (UDP) 10 © Sekolah Tinggi Teknik Surabaya

11 © Sekolah Tinggi Teknik Surabaya David Makofske, Michael J. Donahoo, Kenneth L. Calvert, TCP/IP Sockets in C#: Practical Guide for Programmers, Morgan Kaufmann, 2004, p. 7

» David Makofske, Michael J. Donahoo, Kenneth L. Calvert, TCP/IP Sockets in C#: Practical Guide for Programmers, Morgan Kaufmann, © Sekolah Tinggi Teknik Surabaya