CSE 333 – Section 10 Final Review.

Slides:



Advertisements
Similar presentations
Socket Programming. Basics Socket is an interface between application and network – Application creates a socket – Socket type dictates the style of communication.
Advertisements

© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Socket Programming 0.
Chapter 1 OO using C++. Abstract Data Types Before we begin we should know how to accomplish the goal of the program We should know all the input and.
Generic Transport Service Primitives Listen –notify Transport layer a call is expected Connect –establish Transport layer connection Send (or Write) Receive.
Precept 3 COS 461. Concurrency is Useful Multi Processor/Core Multiple Inputs Don’t wait on slow devices.
1 Generic Transport Service Primitives Listen –notify Transport layer a call is expected Connect –establish Transport layer connection Send (or Write)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Application Layer PART VI.
CSE333 SECTION 7. Midterm Debrief Hex View 1. Find a hex editor. 2. Learn ‘goto offset’ command. 3. See HW3 pictures. The header: Magic word Checksum.
CS252: Systems Programming Ninghui Li Final Exam Review.
Elementary TCP Sockets
1 Chapter Client-Server Interaction. 2 Functionality  Transport layer and layers below  Basic communication  Reliability  Application layer.
Today’s topic Other server design alternatives –Preforked servers –Threaded servers –Prethreaded servers.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 6.
Jozef Goetz, Application Layer PART VI Jozef Goetz, Position of application layer The application layer enables the user, whether human.
Server Sockets: A server socket listens on a given port Many different clients may be connecting to that port Ideally, you would like a separate file descriptor.
Chapter 2 Applications and Layered Architectures Sockets.
The Socket Interface Chapter 21. Application Program Interface (API) Interface used between application programs and TCP/IP protocols Interface used between.
The Socket Interface Chapter 22. Introduction This chapter reviews one example of an Application Program Interface (API) which is the interface between.
Remote Shell CS230 Project #4 Assigned : Due date :
CS333 Intro to Operating Systems Jonathan Walpole.
Position of application layer. Application layer duties.
CS212: Object Oriented Analysis and Design Lecture 17: Virtual Functions.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 3.1 Internet Applications Ch. 28,… (Client-Server Concept, Use of Protocol Ports, Socket API)
Intel Research & Development ETA: Experience with an IA processor as a Packet Processing Engine HP Labs Computer Systems Colloquium August 2003 Greg Regnier.
1 Client-Server Interaction. 2 Functionality Transport layer and layers below –Basic communication –Reliability Application layer –Abstractions Files.
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
Berkeley Socket Abstraction
Threads. Readings r Silberschatz et al : Chapter 4.
1 Network Communications A Brief Introduction. 2 Network Communications.
1 K. Salah Application Layer Module K. Salah Network layer duties.
CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 end_thread.
Module 12: I/O Systems I/O hardware Application I/O Interface
Processes and Threads Processes and their scheduling
EE2E1. JAVA Programming Revision Lecture.
CS399 New Beginnings Jonathan Walpole.
Chapter 4: Multithreaded Programming
Network Architecture Introductory material
Java Byte IPC: Part 6-Summary
Interacting With Protocol Software
Transport layer API: Socket Programming
Review of Important Networking Concepts
Processes in Unix, Linux, and Windows
Programming in Java Text Books :
Processes in Unix, Linux, and Windows
Concurrency Wrap-Up & Final Review
Advanced Network Programming spring 2007
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
27.
Distributed Computing Systems
When you connect with DHCP, you are assigned a
Networks & Communication (continued)
Jonathan Walpole Computer Science Portland State University
Server-side Programming CSE 333 Autumn 2018
Server-side Programming CSE 333 Summer 2018
Course Wrap-Up CSE 333 Summer 2018
Course Wrap-Up CSE 333 Autumn 2018
Concurrency: Processes CSE 333 Summer 2018
Chapter 3 Socket API © Bobby Hoggard, Department of Computer Science, East Carolina University These slides may not be used or duplicated without permission.
Concurrency and Processes CSE 333 Spring 2018
Processes in Unix, Linux, and Windows
An Introduction to Internetworking
CSE 333 FINAL review.
Server-side Programming CSE 333 Winter 2019
Course Wrap-Up CSE 333 Winter 2019
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
CSE 153 Design of Operating Systems Winter 2019
Final Exam Review Inheritance Template Functions and Classes
Jim Fawcett CSE687 – Object Oriented Design Spring 2014
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

CSE 333 – Section 10 Final Review

The Rest of C++ Templates – template definitions vs instatiation STL, containers and iterators. vector, list, map Smart pointers, using with STL. auto_ptr (transfers ownership) shared_ptr (reference counting) scoped_ptr (no copy or assignment, manages memory only) weak_ptr (using to break cycles and why this is needed) Subclasses, inheritance, virtual functions, dynamic vs static dispatch (function calls), vtables, constructors and destructors in subclasses Pure virtual functions and abstract classes Using class hierarchies with STL and smart pointers, assignment slicing, value vs pointer semantics C++ casts

Network Programming Basic network layers: physical, IP, TCP, application Packets, and packet encapsulation across layers IP addresses, address families (IPv4, IPv6), DNS, ports Stream sockets, file descriptors, read, write Client steps: address resolution, create socket, connect socket to server, read/write (including retries), close Server steps: determine address and port, create socket, bind socket to address/port, listen (and how the OS queues pending connections), accept connection, read/write, close Very basic HTTP and HTML

Concurrency Multiple processes and fork() (mostly CSE351 review), shared file descriptors and close() in forked processes Threads - concurrent execution inside a single process; know a few of the pthread basics (i.e., what it means to create a thread and start execution in a function) Use of concurrency to improve throughput and resource utilization Non-blocking I/O and select - basic concepts

The Pre-Midterm Topics Don’t forget the first half of the class, the final is cumulative! Brief summary: C programming, pointers and memory management POSIX libraries read, write, open, close, etc. The beginning of C++ classes/modularity, references, operator overloading, and other differences from C