Computer Systems -- Network Programming and Concurrent Programming
Theodore Norvell
Wuhan University, June 2016
Notes
Introduction
Networks 0 Ethernet and IP
Animations for networks 0
PPT
Networks 1 TCP
UNIX input and output
hexdump.c
copy.c
helloC.c
helloUnix.c
Networks 2 Sockets
Networks 3 Example application
Source code for example application is at
https://github.com/theodore-norvell/TCP-CHAT
Animations for concurrent programming: All animations used in the lectures on concurrent programming are from this
powerpoint deck
.
Concurrent Programming 0 Overview
Concurrent Programming 1 Concurrent Programming
forkExample.c
twoThreads.c
raceCondition.c
noRaceCondition.c
Concurrent Programming 2
account.c
queue.c
Ken Thompson and Dennis Ritchie in the early 1970s.
Assignments
Assignment 0 -- due Sunday, June 12.
Assignment 1 -- due Tuesday June 14.
Assignment 2 -- due Thursday Jun 16.
Solutions to assignments 0, 1, and 2, and an optional fourth assignment.