This is the main repo for the course RES, taught at HEIG-VD in 2020.
This is where you will find lecture notes, slides and some of the examples presented in the class. We will also keep links to the different repos used throughout the semester (for assignments).
- Friday, March 20th: everybody must be ready to do a demo of the Calculator client-server.
- Your code must be available in a GitHub repo
- Friday, March 20th: execute the code (with the debugger and Wireshark) and study the code of the 3 examples.
- YouTube playlist
- Here is the repo for the first assignment. Make sur to fork it, before cloning your fork on your machine.
- Here is the Youtube playlist that presents the first assignment material.
- Here are the slides
- Here are the lecture notes
- Here is the project used to present the impact of buffering on performance
- Here is the repo for the lab, which we will work on during weeks 2 and 3
- We are still using the same deck as last week
- Same thing for the lecture notes
- Here is the project used to demonstrate File IOs
- Here is the project used to demonstrate character encoding
- Here are the slides
- Here is an example of a simple TCP client (which does NOT implement the HTTP spec)
- Here is an example of a simple TCP server (streams current time)
- Here is an example of a multi-threaded TCP server (with workers)
- Here is an example of a client-server application (presence)
- Make sure that you have a working Wireshark on your machine!
- Here is the repo for the protocol design exercise
Review of protocol design exercise, with student presentations & demonstrationsIntro to Docker & UDP- COVID-19 RESPONSE PLAN
- Important: please take the time to study all the lecture notes until TCP programming. Make sure that you know how to implement a client and a server (also a multi-threaded one). If you are stuck, or if there is something that you do not understand in the code examples, SHOOT OUT.
- There is still a test coming up in 2 weeks!!
- Review the protocol specification. We will look at your proposals, identify issues and walk you through our specification. As mentioned during the last lecture, be ready to write a protocol spec in an upcoming evaluation (test and/or exam).
- Focus on Docker introduction. Here our goal is to understand what Docker is and why it is a useful technology that we must all master.
- We will use videos to share knowledge and lab procedures do get familiar with the basics (installation, creation of images with
docker build
and launching of containers withdocker run
). - This introduction is critical for the follow-up weeks.
- The teaching team will reach out to you during the normal RES lecture and lab sessions to see how you are progressing and help you.
- We maintain the evaluation as scheduled. We still need to figure out the logistics, but everyone must be available on Teams on April 3rd, at 10:25 sharp. If for some reason you are unavailable at this time, please reach out to me BEFORE the time.
- It will cover everything until TCP programming and the Docker introduction.
- During the evaluation, you will very likely have to create and run Docker containers, based on the short procedures presented before.
- Read the 2 chapters on HTTP protocol and Web Infrastructures, to get ready for the lab.
- Because of the Easter "break", you have 2 weeks to do that. Please do it. Please.
- We start to present the HTTP protocol, so that you can get started with the HTTP infrastructure (long) lab. We are preparing videos to present this material.
- In this lab, we will use Docker to create a complete web infrastructure with a reverse proxy and several HTTP servers.
- We start working on the HTTP infrastructure lab. We already have a series of 12 webcasts (~6 hours) that guide you through the process, so we are in good shape.
- The teaching team will reach out to you during the normal RES lecture and lab sessions to see how you are progressing and help you.
- We continue with our presentation of HTTP in videos for the theoretical part.
- We continue with the HTTP infrastructure lab.
- The teaching team will reach out to you during the normal RES lecture and lab sessions to see how you are progressing and help you.
- We complete the HTTP infrastructure lab.
- We complete the HTTP infrastructure lab.
- The teaching team will reach out to you during the normal RES lecture and lab sessions to see how you are progressing and help you.
- We maintain the date for the evaluation, which will focus on HTTP.
- Both on the protocol aspects (presented in the new videos) and on the infrastructure aspects (presented in new videos and put in practice in the lab)
- We introduce UDP programming, with videos.
- We start with the "Orchestra" lab.
- The teaching team will reach out to you during the normal RES lecture and lab sessions to see how you are progressing and help you.
- We continue with UDP programming, with videos.
- We complete the "Orchestra" lab.
- The teaching team will reach out to you during the normal RES lecture and lab sessions to see how you are progressing and help you.
- We introduce the SMTP protocol.
- We start the SMTP lab (we already have webcasts that walk you through the procedures)
- The teaching team will reach out to you during the normal RES lecture and lab sessions to see how you are progressing and help you.
- We complete the theoretical part of the SMTP protocol.
- We complete the SMTP lab
- The teaching team will reach out to you during the normal RES lecture and lab sessions to see how you are progressing and help you.
Sunday, March 8th: everybody must have (individually):
completed the Java IO lab