CS2911 Week 3, Class 3 (And wk4-c1)

Slides:



Advertisements
Similar presentations
TELE3118 extras For week 1. Course delivery Should have watched week 1 videos by now. Wed: Essence Mon: Extras: Elaboration(!) + Extension(+) Form: submitting.
Advertisements

Introduction 1-1 Chapter 3 Transport Layer Intro and Multiplexing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
COEN 445 Communication Networks and Protocols Lab 4
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
CEG3185 Tutorial 4 Prepared by Zhenxia Zhang Revised by Jiying Zhao (2015w)
TCP/IP Transport and Application (Topic 6)
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
TCP Sockets Reliable Communication. TCP As mentioned before, TCP sits on top of other layers (IP, hardware) and implements Reliability In-order delivery.
CS2910 Week 1, Class 2 Today Announce Prof. Michael Vieau’s S-341 6p Thurs Wk 2 Assignment for tomorrow Data Encoding, Part 1 Parsing Data Muddiest Point.
CS2910 Week 1, Class 1 Today Introductions Class/Lab Layout Safety Review - Note about Lab Safety Review Announce Prof. Michael Vieau’s S-341 6p Thurs.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
CS2910 Week 2, Class 1 Today Data Encoding, Part 1 Parsing Data Python Muddiest Point Lab 2 – Bring text In Class, Thursday: Quiz Week 6, Monday: Midterm.
Transport Layer3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley,
CS2910 Week 5, Class 2 Today DNS Muddy Points More HTTP Headers Review for Midterm Exam This coming Monday: Midterm Exam SE-2811 Slide design: Dr. Mark.
CS2910 Week 9, Class 1 Today –Quiz on SMTP –TCP: Flow control vs. Congestion Control –TCP startup, error recovery, and shut-down Before 8am Thursday: –Watch.
CS2910 Week 2, Class 1 Today Return Lab 1 Muddiest Points Quiz Parsing Data in Python SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 7, Class 1 Today Binary Search Tree Implementing add Implementing find Return Quiz 4 (second attempt) Both sections are graded SE-2811 Slide.
CS2910 Week 4, Class 1 Today Encoding in Python – Review Quiz – Encoding in Python Introduction to HTTP SE-2811 Slide design: Dr. Mark L. Hornick Content:
Week 7, Class 1: The Command Pattern (cont.) Get Ready for Poll Everywhere Labs 2 & 3 returned Lab 7 due this evening at 11pm Quiz tomorrow at start of.
CS2910 Week 4, Class 2 Today Sit by someone you have not yet worked with this quarter. Learn his/her name if unknown. Turn on your laptop and start Wireshark.
CS2910 Week 3, Class 1 Today What is a protocol? Using TCP in Python Defining methods in Python Long procedure design SE-2811 Slide design: Dr. Mark L.
CS2910 Week 8, Class 2 Today Return Quiz Look at Schedule TCP implementation! Week 8, Monday Quiz on SMTP May include some questions requiring you to interpret.
CS2910 Week 7, Class 1 Today Capturing SMTP with Thunderbird Tomorrow Extra office hour at 11 am (right after lab) Friday Office hour cancelled SE-2811.
CS2910 Week 5, Class 1 Today Sit by someone you have not yet worked with Turn on your laptop and start Wireshark. DNS Next week Monday: Midterm Exam SE-2811.
COMP2322 Lab 4 Socket Programming Toby Lam March 2, 2016.
CS-2852 Data Structures Week 5, Class 3 – Testing and Recursion Queue Implementing finite queues Binary Search Recursion Tomorrow – Quiz, Lab demos, Lab.
CS2911 Week 3, Class 2 Today Return Lab 3 Afternoon section: Hand out Lab 4 Checklist Review Muddiest Point Questions on Lab 4? What is a protocol? The.
COMP2322 Lab 4 Socket Programming
Chapter 3 Transport Layer
Chapter 3 Transport Layer
Transport Layer Slides are originally from instructor: Carey Williamson at University of Calgary Very minor modification are made Notes derived from “Computer.
CS2911 Week 4, Class 3 Today Next Class: DNS – Domain Name Service
Block 5: An application layer protocol: HTTP
Slide design: Dr. Mark L. Hornick
Sockets and Beginning Network Programming
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
CS2911 Week 6, Class 1 Today This week, Lab: Quiz at start of lab
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
CS2911 Week 10, Class 2 Today Tomorrow Final Exam: Monday, 11am
CS2911 Week 4, Class 2 Today Next Thursday:
Chapter 3 Transport Layer
Subject Name: Computer Communication Networks Subject Code: 10EC71
Chapter 2 Introduction Application Requirements VS. Transport Services
Checksum Calculations
Slide design: Dr. Mark L. Hornick
CSCD 330 Network Programming
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
CS2911 Week 8, Class 1 Today Week 8, Lab period Muddiest Point
CS2911 Week 5, Class 3 Today Week 6, Lab: Quiz at start of lab
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
ECE 4450:427/527 - Computer Networks Spring 2017
Slide design: Dr. Mark L. Hornick
CS2911 Week 7, Class 3 Today Week 8, Lab period Muddiest Point
Slide design: Dr. Mark L. Hornick
CS2911 Week 2, Class 3 Today Return Lab 2 and Quiz 1
Slide design: Dr. Mark L. Hornick
CS2911 Week 3, Lab Today Thursday Friday Review Muddiest Point Lab 3
Slide design: Dr. Mark L. Hornick
Chapter 2 Application Layer
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Chapter 3 Transport Layer
Slide design: Dr. Mark L. Hornick
CS2911 Week 8, Class 1 Today Week 8, Lab period Muddiest Point
Chapter 2 Application Layer
CS2911 Week 5, Class 3 Today Next Class: DNS – Domain Name Service
Presentation transcript:

CS2911 Week 3, Class 3 (And wk4-c1) 1 May 2019 CS2911 Week 3, Class 3 (And wk4-c1) Today Quiz 2 Review Muddiest Point Questions on Lab 4? The HTTP protocol, continued Muddiest Point Thursday Friday (tomorrow) Quiz 2: Encoding in Python 17q1 3-1 1,2,5-9,11-15 CS2911 Dr. Yoder Dr. Josiah Yoder

Quiz 2 today! Topics: Encoding in Python Binary representations Parsing messages CS2911 Dr. Yoder

CS2911 1 May 2019 Muddiest Point 3-2 && 3-3 Why can't the different types of data have unique types in Python? Doesn't it force checks for the actual type something is? And doesn't it force some amount of try/catch to prevent data type mistmatches. Encoding in Python: Why multiple types? NO MORE DAD JOKES re jokes Does 0d0a signify a new portion of the response every time it is found in the byte dump? i.e. Can the body portion have multiple lines? 0d0a in HTTP body Are we going to be working on this exercise we got today in class next time? Exercise Will Monday's quiz be mostly about coding bytes in Python? Quiz What practice/study would you recommend to supplement class work? study advice Dr. Josiah Yoder

Muddiest Point 3-2 && 3-3 how do you know which thing in wireshark to check. after you filter theres the list Wireshark & HTTP I wish we could have done some of the examples from the practice quiz together as a class. instead of you telling us how, but us not knowing if we are 100% right examples and answers No muddy points today none The punchline often arrives before the set-up. Do you know the problem with UDP jokes? joke Large discussion: http://stackoverflow.com/questions/152457/what-is-the-difference-between-a-port-and-a-socket Port vs. Socket CS2911 Dr. Yoder

Port vs. Socket See text, section 3.2 (7th ed) CS2911 1 May 2019 Port vs. Socket See text, section 3.2 (7th ed) A socket is like a door through which data passes. A port number is like the number on the door A socket is an object in the running program that you can use to send and receive data (or, in the case of a listening port, to accept a new connection) A port number is just a number – the address of the program within the machine "Port" is just an abbreviation of "port number" http://stackoverflow.com/questions/152457/what-is-the-difference-between-a-port-and-a-socket http://stackoverflow.com/a/152475/1048186 https://en.wikipedia.org/wiki/Network_socket In fact, our text always refers to a port as a "port number." So, "port" is really an abbreviation of "port number" https://en.wikipedia.org/wiki/Port_(computer_networking) Searching for " port" in this article reveals that where "port" is used without "number," it still means "port number." Dr. Josiah Yoder

Questions about Lab 4? TCP implementation? Extension to sending multiple files? Lab checklist / requirements? … CS2911 Dr. Yoder

TCP connection listen_socket.bind((listen_host,listen_port)) CS2911 1 May 2019 TCP connection listen_socket.bind((listen_host,listen_port)) What python type is (listen_host,listen_port)? listen_host can be empty string ('') to listen on all interfaces department offices example Instead of data_socket.recv(…), simply use the next_byte calls you already have in your Lab 3 code. CS2911 Dr. Yoder Dr. Josiah Yoder

Marking the end of the message Content-Length Chunking Gives length from start Sender must know length from start Simpler to receive Doesn't say message is done until end Sender doesn't have to know length until done Receiver must parse multiple "chunks" CS2911 Dr. Yoder

CS2911 1 May 2019 https://www.polleverywhere.com/free_text_polls/zIp2tH2IVWjXv4H CS2911 Dr. Yoder Dr. Josiah Yoder

CS2911 1 May 2019 Acknowledgement This course is based on the text Computer Networking: A Top Down Approach 7th edition Jim Kurose, Keith Ross Addison-Wesley Dr. Josiah Yoder