Click here to see a PREVIEW of important rules that was posted before the semester started. This is an undergraduate level course covering the fundamental concepts of networking as embodied in the Internet. Topics covered in this are: design principles, layering, protocol design/analysis of the global Internet; networked applications; the structure/architecture of the Internet; protocols for network transport and congestion control; network layer and routing; link layer/MAC; and network security.

You will also learn to write multi-threaded programs to create a network of communicating servers using "socket programming" (which some would consider as "system programming"). You will learn to make "system calls" to interact with "the system". There will be 6 to 7 programming assignments and some of them can be quite time-consuming and challenging to implement and debug. Therefore, the workload of this class can be quite high and it's important to keep up with the pace of the class and try to avoid starting a lab or programming assignment only when the deadline approaches.

Instructor Bill Cheng (click to see office hours)
E-mail: <bill.cheng@usc.edu>.  (Please do not send HTML-only e-mails. They will not be read.)
Time MW 12:00pm - 1:50pm 
Location GFS 116 
Course Producers / Graders
Liuhan Huang <liuhanhu@usc.edu>, Helpdesk Hours: Tue/Thu 11:30am - 1:00pm in SAL open lab (in front of SAL 126)
Hongzhou Li <hongzhol@usc.edu>, Helpdesk Hours: Mon/Wed 4:00pm - 5:30pm in SAL open lab (in front of SAL 126)
Amulya Nagaraju <nagaraju@usc.edu>, Helpdesk Hours: Tue 3:30pm - 5:00pm and Wed 1:00pm - 2:30pm in SAL open lab (in front of SAL 126)
Muhammed Khan <muhammek@usc.edu>, Helpdesk Hours: Mon/Thu 10:00am - 11:30am in SAL open lab (in front of SAL 126)
Midterm Exam 12pm-1:20pm (80-minutes long), Mon, 3/4/2019 (firm).
Final Exam 11am-12:40pm (100-minutes long), Fri, 5/3/2019 (firm).
Class Resources
Description   :   textbooks, topics covered, grading policies, additional resources, etc.
Lectures   :   information about lectures (and lectures slides in PDF format).
Discussions   :   information about discussion sections.
Programming   :   programming assignments (please also see important information about programming assignments at the bottom of this web page.)
Forum   :   Piazza Forum for discussing course materials and assignments. You are required to be a member of this group. (This group is by invitation only.) Please do not send request to join this group until after the first lecture.

(in reversed chronological order)
  • 2/14/2019:
    • Helpdesk hour today for Liuhan Huang (Thursday 11:30am - 1:00pm) has been cancelled and moved to tomorrow (Friday) at 3:30pm - 5:00pm. Sorry about the inconvenience.

  • 2/13/2019:
    • PA2 and PA3 extra credit deadlinen has been extended by 24 hours. If you submit by the end of tonight, you will get 10% extra credit. If you submit by the end of tomorrow night, you will get 5% extra credit.

  • 2/11/2019:
    • Hongzhou Li will be holding his helpdesk hours at LVL Basement 3F this week (Mon 4:00pm to 5:30pm, Wed 4:00pm to 5:30pm).
    • Amulya Nagaraju will be holding her helpdesk hours in the Leavey Library at room no 3H (Basement) this week (Tue 3:30pm-5:00pm, Wed 1:00pm-2:30pm).

  • 2/7/2019: I should have added this item earlier. On 1/28, one of our course producers, Liuhan Huang, posted to the class Piazza, saying that she will be out of town and will not be able to hold helpdesk hours on 1/29, 1/31, 2/5, 2/7, and 2/12.

  • 12/12/2018:
    • Watch this area for important announcements.

    • To get user ID and password for accessing protected area of this web site, please visit the request access page after semester starts and submit the requested information. (You do not have to be registered for the course to get the password. You just need to have an USC e-mail address.)

    • Please do not send request to join the class Piazza Forum until after the first lecture.
The prerequisite for this course is CSCI 201 (Principles of Software Development). Please see the CS Course Catalog for information about CSCI 201.

According to the CS Course Catalog, the prerequisite for CSCI 201 is CSCI 104L, and the prerequisite for CSCI 104L is CSCI 103L. Therefore, you will be expected to have had at least two semesters of experience programming in C++ from these courses.

In addition, a corequisite of CSCI 104L is CSCI 170, and graphs and basic graph algorithms are covered in CSCI 170. Therefore, you will be expected to be familiar with graph representations (e.g., nodes and edges for abstract representation, adjacency list data structure, etc.) and basic graph algorithms such as breadth-first-search (BFS).

All programming assignments are to be done in standard C++ (i.e., c++11, c++14, etc.). No other programming languages will be accepted. (Sorry, no Java, no Python.) All networking related programming are to be done in C (i.e., without C++ socket libraries). C is a proper subset of standard C++. If you know standard C++, you already know C.

Your program must compile and run with a Makefile either on nunki.usc.edu or on a 32-bit Ubuntu 16.04 machine running inside VirtualBox. Grading for programming assignments can ONLY be done on nunki.usc.edu (which runs a Unix operating system) or on a 32-bit Ubuntu 16.04 machine running inside VirtualBox. Even if you can demonstrate that your code runs perfectly on some other system, it cannot be considered for grading and you won't get any partial credit for it. If you are not familiar with Unix, please read Unix for the Beginning Mage, a tutorial written by Joe Topjian. You can also visit UNIX Tutorial for Beginners or Learn tcsh in Y Minutes. If you knew how to use Unix/Linux before and just need a refresher, please review a summary of some commonly used Unix commands. It's a good idea to be familiar with the Unix/Linux development environment (vi/pico/emacs, gcc/g++, make, etc.) One good way to start is to install Ubuntu Linux into a Virtual Machine on your laptop/desktop and start using it with the very first programming assignment. If you are comfortable with commandline interface to Linux/Unix systems (i.e., without a desktop), you can also try VagrantBox and use it for your programming assignments.

If a student registered late for this class or could not be present at the beginning of the semester, he/she is still required to turn all the assignments on time or he/she will receive a score of 0 for these assignments. No exceptions!