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
- Review your class notes on Java networking.
- 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
- To learn simple networking concepts.
- Work with some basic UNIX networking services.
- Understand some of the classes in the
java.net
package.
- Become familiar with the basic syntax of the
java.net
package.
- Write some simple programs that utilize a network.
Activities
- Converting Machine Names to IP Addresses
- A Simple Socket Client
- 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 |
Last updated July 24, 2003 by tmh.