Application Layer Programming (R1)

Application Layer Programming (R1) - CSCI 232 - Computer...

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

View Full Document Right Arrow Icon
CSCI 232 - Computer Networking Application Layer Programming George Blankenship 1 Programming George Blankenship 1 CSCI 232 Computer Networking: Application Layer Programming George Blankenship Programming George Blankenship 2 Lecture Outline • Programming concepts – PDUs and SDUs – Transport Interface – System-to-system messages – General program flow • WinSock (C++) • Java.net API Programming George Blankenship 3 Programming Concepts • Horizontal dialog – Defined in the application design – Oriented towards transactions – Transaction defined by sequence of messages • Vertical control – Defined by the service provider (transport) – Simple command set – Connect to transport – Send/receive data
Background image of page 1

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

View Full DocumentRight Arrow Icon
CSCI 232 - Computer Networking Application Layer Programming George Blankenship 2 Programming George Blankenship 4 Horizontal Dialog • Service based relationship between two peer entities • At a given instant one entity is requesting a service and the other is supplying a service • The request is a series of messages that that must be processed as a unit • The protocol is oriented towards defining processing units Programming George Blankenship 5 Vertical Controls • Traffic moves vertically between a communication service user and a communication service provider • The service user is the application • The service provider is the transport layer • Provided service – Open transport – Send data – Receive data – Close transport Programming George Blankenship 6 Application Functions • Define the location of the peer • Define the bounds of a transaction • Create the APDUs (Application Protocol Data Units) that define the transaction data movement • Process the APDs that define the transaction data movement • Use the service provider
Background image of page 2
CSCI 232 - Computer Networking Application Layer Programming George Blankenship 3 Programming George Blankenship 7 Server Functions • Wait for the request • Perform the service • ACID based performance – Atomic operation – Consistency – Isolation – Durability • QoS provider Programming George Blankenship 8 Client Functions • Initiate connection • Request the service • End-system/end-user oriented – Gather request components – Transform to form expected by server – Hide server functions/operation • Co-operate with server to fulfill QoS requirements Programming George Blankenship 9 General Operation • Initialize communication service – Attach to service API – Establish call-backs • Connect to target system
Background image of page 3

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

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

Page1 / 12

Application Layer Programming (R1) - CSCI 232 - Computer...

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

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