CS 228 -- Network Programming

CS 228 -- Network Programming Class

Mon Jan 12 -- Syllabus stuff. First day stuff. How to install WSL and compile using it. How the internet works.
Wed Jan 14-- Why linux. What is WSL and WSL2. What is Ubuntu. How does one visual studio code for Linux. Assignment #1.What is a socket? What is a port number? read and write. Detecting errors. c++-strings vs arrays of char. Converting between. perror.
Fri Jan 16 -- QUIZ. Ethernet and Aloha and stuff.
Mon Jan 26 -- Go over homework. Slotted Aloha. Reservation Aloha. Token ring. More ethernet.
Wed Jan 28 -- Ethernet frames. Mac addresses. Ethernet algorithm. Ethernet performance. "the forumla".
Fri Jan 30 -- Practice reading the ethernet frame thing. Practice the TTS formula. HTTP/File assignment.
Mon Feb 2 -- QUIZ on Ethernet, programming, and Aloha. Wifi.
Wed Feb 4 -- Go over quiz. Router Switch. Hub. Wifi base station. Fiber to ethernet. SPF Fiber->Ethernet.
Fri Feb 6 -- IP Addresses. How big. How to write. Reserved adresses. Exhaustion.
Mon Feb 9 -- NAT video. IP. Hop by hop, mac and IP addresses. How-by-hop vs source routing. Flooding. Hot potato. Djikstra's algorithm.Djikstra's algorithm.
Wed Feb 11 -- Lab day in the lab
Mon Feb 16 -- QUIZ. Mail.
Fri Feb 20 -- How to get past NMU's block of port 25. Practice by hand SMTP. Smap detection.
Mon Mar 9 -- Review for the midterm.
Wed mar 11 -- Practice midterm.
Fri Mar 20 -- Go over midterm. HTTP.
Mon Mar 23 -- WebServer Assignment. The Man in the Middle Attack -> Why symetric encryption is not the answer -> Public Key Encryption -> (Picture) RSA -> Digital signatures -> Certificates (X509.) (Buying a cert)-> HTTPS -> OpenSSL.
Mon Mar 30 -- Ping Pong. Selective Repeat. Sliding Window. TCP.
Wed Apr 1 -- Error codes. Math on ping pong. TCP and syn/fin/ack bits. Why random numbers. Practice quiz on SR, ping pong, tcp, sliding window.
Fri Apr 3 -- Need multiple connections. Have multiple core and multiple resources. Three choices .. threads/fork/select. Fork. Fork bomb. More fork examples. Crazy fork example. Fork sorting. Asynchonizity. No fork in windows! Waitpid Flock. Example of Flock. Fork Assignment. Outline of program.
Mon Apr 6 -- QUIZ.
Wed Apr 8 -- Forking telnet.
Fri Apr 10 -- Fork benchmark. man poll. telnet via poll. Compare with telnet via fork.
Mon Apr 13 -- Waitpid and Locking a file in c++ and flock and Failing to get a fd from an fstream Seriously and A possible solution and Easy Flock.cc.Harder fcntl.
Wed Apr 15 -- Why not a proxy server! Chat Assignment.
Fri Apr 17 -- How to terminal for the last program. DNS. gethostbyname. Squarespace. Lightsail. EC2.
Wed Apr 22 -- Final Exam Review. Last day to turn anything in!
Thr Apr 23 -- Final Exam Practice
Fri Apr 24 -- Doctor no class :-(
FINAL EXAM Wed Apr 29 at 2pm
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[DIR]Programming/2025-04-17 23:35 -  
[TXT]syllabus.html2026-01-11 21:03 3.1K 
[DIR]OldStuff/2026-01-29 21:41 -  
[DIR]Tests/2026-04-06 22:58 -  
[DIR]Notes/2026-04-12 22:41 -  
[DIR]Assignments/2026-04-13 13:39 -  
[TXT]HEADER.html2026-04-16 22:22 7.2K 

Apache/2.4.58 (Ubuntu) Server at euclid.nmu.edu Port 80