Class Lectures and Reading Assignments
CS 33600
Network Programming
Spring, 2025

This page documents what we do in class. It contains Java programs that we will discuss in class, reading assignments, simple homework exercises that you can work on for practice and exam preparation (not for credit), and links to other sources of information. It is a good idea for you to "play" with the example Java programs; compile them, run them, make simple changes to them and compile and run them again.

Because of the weather, class met using the Zoom application.

Here is a link to today's video lecture.

The first midterm exam is three weeks from today, on March 5. Below are exam review problems for the material that we have covered so far (Java I/O, byte streams, data formats, character encodings). Next week there will be some more review problems about network programming.

Today we will look at these network programming examples.

Here is another introduction to Java network programming.

Today we will finish the Unicode code examples.

We will start to look at these networking code examples.

See the programming assignment page for your second assignment.

Today we will look at the Unicode code examples.

Read sections 1 and 2 from the following introductory chapter about network programming.

Read sections 1, 2, and 3 (first seven pages) from the following introductory chapter about network programming.

Next week we will look at these networking code examples.

Today we will look at the following code examples about character sets, character encodings, and code pages.

Read the following introductory chapter about network programming.

Today we will finish the data code examples.

We will briefly look at the following code examples that show how to detect the end-of-file condition on a byte stream.

Read this introduction to character sets.

Today we will look at these code examples.

Read the following overview of Java I/O streams.

Read sections 1, 2, 3, 4, and 5 from the following chapter about Java I/O.

Today we will finish looking at these code examples that demonstrate how buffers can affect programs.

No class. Martin Luther King Jr. Day.

See the programming assignment page for your first assignment.

Here is another chapter about Java I/O classes. This reference has a good explanation of Java's use of the decorator pattern in the design of the stream classes.

Here are code examples that we will use in class today.

Read the first 18 pages of this chapter on Java I/O streams.

Here are code examples that we will use in class this for the next few weeks. Read the Readme.txt files in each folder.

Here are some books that we will use as references this semester. We will only need one or two chapters from each book. You should be able to download a pdf of each book (or individual chapters) while you are on campus.