prev next

Computer Science for Transfers
Lab 9 - Networking Using Java

Note that this is "lab 9" for Week 10 lab (fall quarter, 2012-1)

This lab is due early: Due Sunday, November 11 before midnight!

Overview

In this lab you will be introduced to some basic networking concepts and will learn how to use Java to write programs that perform simple network operations.

Pre-lab

  1. Review your class notes on Java networking.
  2. Read through the Overview of Networking section in the Java tutorial (you may also find the sections titled "All About Sockets" and "All About Datagrams" useful as well.

Objectives

  1. To learn simple networking concepts.
  2. Work with some basic UNIX networking services.
  3. Understand some of the classes in the java.net package.
  4. Become familiar with the basic syntax of the java.net package.
  5. Write some simple programs that utilize a network.

Activities

  1. Converting Machine Names to IP Addresses
  2. A Simple Socket Client
  3. A Time of Day Client.

Grading

In-lab participation 3 points
Activity 1 9 points
Activity 2 9 points
Activity 3 9 points
Total 30 points

prev next
Last updated July 24, 2003 by tmh.