ch21 - Chapter Twenty-One: Internet Networking Chapter...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter Twenty-One: Internet Networking
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Chapter Goals To understand the concept of sockets To learn how to send and receive data through sockets To implement network clients and servers To communicate with web servers and server-side applications through Hypertext Transfer Protocol (HTTP)
Background image of page 2
The Internet Protocol Internet A worldwide collection of networks, routing equipment, and computers Uses a common set of protocols to define how the parties will interact with each other IP: Internet Protocol Developed to enable different local area networks to communicate with each other Has become the basis for connecting computers around the world together over the Internet
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Data Transmission Consists of sending/receiving streams of zeros and ones along the network connection Two Types of Information Application data • The information one computer wants to send to another Network protocol data • Describes how to reach the intended computer • Describes how to check for errors in the transmission
Background image of page 4
Sending Data from A to B across the Internet A is your home computer It is connected by phone lines to an Internet Service Provider (ISP) The ISP is connected to an Internet Access Point B is on an local area network at XYZ Computers XYZ has its own Internet Access Point The Internet Access Points are connected by a complex collection of pathways (the Internet) Over these pathways a message sent from one access point can eventually reach any access point
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Two Computers Communicating Across the Internet
Background image of page 6
Destination Address Data must be marked with a destination address In IP, addresses are denoted by a sequence of four numbers Each is one byte (a number between 0 and 255 ) For example 130.65.86.66 To be able to accommodate more devices, IP addresses will be extended to sixteen bytes To send data to B , A needs to know B 's Internet address A includes that address in the protocol portion when sending the data
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Domain Naming Service In addition to an IP address, computers can have an easy-to- remember domain name For example, java.sun.com Domain Naming Service (DNS): translates from domain name to IP address When A wants to request data from a domain name: It asks the DNS for the numeric Internet Address It includes the numeric address with the request for data
Background image of page 8
Packets IP breaks large chunks of data up into more manageable packets Each packet is delivered separately Each packet in a larger transmission may be sent by a different route Packets are numbered The recipient reassembles the data
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Transmission Control Protocol Internet Protocol (IP) does not notify the sender if data is lost or garbled This is the job of a higher level protocol Transmission Control Protocol (TCP) The most commonly used Internet services use TCP with IP (TCP/IP)
Background image of page 10
TCP's Job Attempt to deliver the data Try again if there are failures Notify the sender whether or not the attempt was successful
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/27/2009 for the course SC 418262 taught by Professor Chuleerut during the Spring '08 term at Kasetsart University.

Page1 / 77

ch21 - Chapter Twenty-One: Internet Networking Chapter...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online