NetworkClient

NetworkClient - Network Clients YHL Thursday, October 27,...

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

View Full Document Right Arrow Icon
YHL Network 1 Network Clients Thursday, October 27, 2011
Background image of page 1

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

View Full DocumentRight Arrow Icon
YHL Network 2 Thursday, October 27, 2011
Background image of page 2
YHL Network 3 Networking, Client-Server Model serve the client open a socket request a port listen to the port client connect to the port at the machine serve the client create a thread request request response response allow other clients to connect server google.com cnn.com amazon.com purdue.edu client your laptop Thursday, October 27, 2011
Background image of page 3

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

View Full DocumentRight Arrow Icon
YHL Network 4 Network Protocols Protocols specify what commands / formats can be sent and the responses / formats. Protocols also specify the responses when commands cannot execute. Thursday, October 27, 2011
Background image of page 4
YHL Network Network protocols Various communication protocols -- with UDP and TCP being the best known -- facilitate communicating data among computers on a network – TCP (Transmission control protocol) provide ordered, reliable communication between machines – UDP (User Datagram Protocol) provides unreliable, unordered communication between machines – ordered means the packets are presented to an application in the order sent, unordered means that this is not the case – reliable means that the protocol handles the resending of dropped data packets 5 Thursday, October 27, 2011
Background image of page 5

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

View Full DocumentRight Arrow Icon
YHL Network Protocol fundamentals At a minimum a protocol must provide provide a way for data to get – from the sending to the receiving machine – get to the right application on the sending machine, or to an application that will forward the data to the right applications IP addresses provide a way of getting from machine to machine Ports provide a way of specifying a service to handle the data 6 Thursday, October 27, 2011
Background image of page 6
YHL Network Domain Name System given a name like www.google.com a machine must be provided get the address of a root name nameservr 1. The root nameserver provides the .org nameserver 2. the .org server provides the wikepedia name server 3. FInally, the wikipedia name server points to the wikipedia server 7 Thursday, October 27, 2011
Background image of page 7

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

View Full DocumentRight Arrow Icon
YHL Network Domain Name System In practice, caching is used to reduce the number of queries directed at name servers 8 Thursday, October 27, 2011
Background image of page 8
YHL Network 9 Thursday, October 27, 2011
Background image of page 9

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

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

Page1 / 35

NetworkClient - Network Clients YHL Thursday, October 27,...

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

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