Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
25 Cards in this Set
- Front
- Back
Application Layer Protocols defintion
|
Types of messages exchanged, syntax and semantics of message, the rules for when and how messages are sent
|
|
Socket Programming
|
programming model used in constructing distributed systems, socket is a programming interface
|
|
Protocol design issues
|
in band vs. out of band control signaling (in header or not) Push vs Pull, Persistent vs non-persistant connections
|
|
Client
|
initiates contact with server (speaks first) Requests service from sender, for Web, client is implemented in browser, email mail client
|
|
Server
|
Provides requested service to client. "Always" running under the socket model.
|
|
About Socket
|
sockets created and managed by applications, fundamental building blocks of client and server systems. interface into which an opplication process can both send and reciebe messages to/from another remote or local application process
|
|
UDP Sockets
|
unreliable, datagram oriented communications
|
|
TCP sockets
|
reliable, strem-oriented communications
|
|
Sockets Addressed
|
using an IP Address and port number
|
|
3 Way Handshake
|
Client socket establishes connection, gets welcoming socket, then creates connection socket and sends information through.
|
|
TCP Service
|
connection-oriented: a setup is required. Reliable transport between sending and reciving. Flow control: snder wont overwhelm reciever, congestion control
|
|
TCP Does not provide
|
timing, minimum bandwidth guarantees
|
|
UDP Service
|
unriable data transfer between sending and reciving process
|
|
UDP Does not provide
|
connection setup, reliability, flow control, congestion control, timing, min bandwidth guarantees
|
|
Why UDP?
|
More effecient, small advantages in specific instances
|
|
Application
|
Communicating, distributed processes, Exchange mssages to implement application
|
|
HTTP
|
Hypertext transfer protocol
|
|
HTTP Client Server
|
client, browser that requests and recives web objects, Server web server sends objects
|
|
Stateless
|
HTTP is statless, server maintains no information about past browsre requests
|
|
HTTP Uses
|
TCP sockets, browser initiates TCP connection
|
|
HTTP 1.0
|
One request/response interaction per connection
|
|
HTTP 1.1
|
persistent connections, pipelined connections
|
|
Objects
|
Browser makes seperate requests for all the objects on a webpage
|
|
Request HTTP message
|
Request line, optional headers, body for some methods (POST)
|
|
Response HTTP message
|
request line, ASCII format, optional header. Requested object or error message
|