Network Programming All networked computers have an IP Address – Unique – In the form of xxx.xxx.xxx.xxx (255.255.255.255) – 32 bits = ~4 billion possibilities.

Slides:



Advertisements
Similar presentations
TCP/IP summary Skills: none IT concepts: review This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike 3.0 License.
Advertisements

The Internet Useful Definitions and Concepts About the Internet.
1 Java Networking – Part I CS , Spring 2008/9.
CLIENT / SERVER ARCHITECTURE AYRİS UYGUR & NİLÜFER ÇANGA.
The Internet Ed Lazowska Bill & Melinda Gates Chair in Computer Science & Engineering University of Washington August 2010.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
Web Design Terms and Concepts Ms. Scales. Q. What is a Server? A. A server is a computer that stores information many people can access. It runs special.
CISCO NETWORKING ACADEMY Chabot College ELEC Application Layer Puzzles.
Human-Computer Interface Course 5. ISPs and Internet connection.
CHAPTER 2 PCs on the Internet Suraya Alias. The TCP/IP Suite of Protocols Internet applications – client/server applications The client requested data.
Syllabus outcomes Describes and applies problem-solving processes when creating solutions Designs, produces and evaluates appropriate solutions.
 TCP/IP is the communication protocol for the Internet  TCP/IP defines how electronic devices should be connected to the Internet, and how data should.
Chapter 10 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain how the functions of the application layer,
思科网络技术学院理事会. 1 Application Layer Functionality and Protocols Network Fundamentals – Chapter 3.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e
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.
HOW ACCESS TO WWW Student Name : Hussein Alkhaldi.
Lectures and Practicals Mon 8-10 SC1222 TUE SC1222 Office: SC Website: mis.csit.sci.tsu.ac.th/kanida.
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
© 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.
How Web Servers and the Internet Work by by: Marshall Brainby: Marshall Brain
1 Introduction to Networking Dr. Mahdi Nasereddin PPU.
NETWORKING PRACTICAL EXAMPLE. REQUIRED HARDWARE BASICS Network Interface Card Ethernet Cable Client Server.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Network Services Networking for Home & Small Business.
15 Semester 1 JEOPARDY IndirectnetworksupportDNSDNSNetworkApps.NetworkApps.MoreNetworkApps.Misc.Misc
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
The Internet Just the Facts. Protocols TCP/IP are the TRANSPORT protocols of the Internet Services use TCP/IP to connect to other computers on Internet.
Data Streams David Meredith Source Chapter 19 of – Shiffman, D. (2008). Learning Processing. Morgan Kaufmann, Burlington, MA. ISBN:
Day16 Protocols. TCP “Transmission Control Protocol” –Connection oriented Very like a phone call, an actual connection is made between the 2 parties.
Copyright © Curt Hill, Client – Server Computing An important paradigm.
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.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
Chap 15 Application Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
The Web and Web Services Jim Graham NR 621 Spring 2009.
Protocols COM211 Communications and Networks CDA College Olga Pelekanou
Network protocols –Nodes of a network must obey some rules if they want to communicate with each other. The set of rules is called network protocol. –The.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
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.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
# 1# 1 CS 105 Fall 2006 Internet and Web Concepts What is a URL? The Internet and the World Wide Web (subset) What is a browser? HTTP is? cs.uiuc.edu means…
4343 X2 – Outline The Domain Name System The Web.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Protocols Monil Adhikari. Agenda Introduction Port Numbers Non Secure Protocols FTP HTTP Telnet POP3, SMTP Secure Protocols HTTPS.
CSE 451: Operating Systems Spring 2012 Module in 9 slides Ed Lazowska Allen Center 570.
Application of the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
TCP/IP Protocol Suite ©Richard L. Goldman September 25, 2002.
“ is not to be used to pass on information or data. It should used only for company business!” – Memo from IBM Executive The Languages, Methods &
How Web Servers and The Internet Work The Basic Process.
Network Overview. Protocol Protocol (network protocols) - a special set of rules that define communication between two or more devices on a network.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Data communication and Networks
Instructor Materials Chapter 5 Providing Network Services
Network Wiring and Reference
Some bits on how it works
Working at a Small-to-Medium Business or ISP – Chapter 7
Web Development & Design Chapter 1, Sections 4, 5 & 6
Working at a Small-to-Medium Business or ISP – Chapter 7
Topic 5: Communication and the Internet
I. Basic Network Concepts
Working at a Small-to-Medium Business or ISP – Chapter 7
CSE 451: Operating Systems Autumn 2009 Module in 9 slides
Introduction to Client/Server Computing
Internet Applications & Programming
CSE 451: Operating Systems Autumn 2010 Module in 9 slides
Computer Networks Protocols
Presentation transcript:

Network Programming All networked computers have an IP Address – Unique – In the form of xxx.xxx.xxx.xxx ( ) – 32 bits = ~4 billion possibilities (IPv4) Most computers have multiple network cards called “interfaces” – Wireless card – Ethernet adapter – VPN

From the cmd

Ports Machine can specify one of ~65K ports – Allows for multiple network connections – First 1024 are reserved by the OS Common ports – 21 FTP (File Transfer Protocol) – 22 SSH (Secure Shell) – 23 Telnet – 25 SMTP (Simple Mail Transfer Protocol) – 80 HTTP (HyperText Transfer Protocol) – 110 POP3 (Post Office Protocol) ** 13 is Time Protocol and 17 is Quote of the Day

DNS Domain Name Service – Translates human-readable into IP Address – Relieves burden of memorization! – This is what many applications use Example: – –

nslookup

Client/Server Servers wait – a LOT Client wants some data/service from server Process 1.Client connects to server 2.Client sends request for info 3.Server finds the information 4.Server sends the information 5.Client/Server disconnect?

“One-shot” Servers

Gee, I’m lonely I need a texture!

“One-shot” Servers Make a connection Someone loves me!

“One-shot” Servers GET spriteSheet.png Let me find that for you…

“One-shot” Servers Here ya go!

“One-shot” Servers Gee, I’m lonely

“Broadcast” Servers A B C

One thread per client A B C

“Broadcast” Servers Here are my coordinates! A B C

“Broadcast” Servers “A” is at A B C Hey guys! “A” has moved

Summary IP Address Port Client/Server relationship Programming: – If you can read/write to files, you can read/write to the network – Developing “Poor Man’s Web Browser” – Developing “Poor Man’s Web Server”