CIS 218 Course Materials
Source File Description
  
ShowSource.java An explanation of the java.net.URL class as an example of how to download/parse web content programmatically.
  
SampleServer.java An example "socket server" application that listens for client connections on a port. The use of the ServerSocket and Socket classes from the java.net package is explained.
  
SampleClient.java Connect to a server using a java.net.Socket, and then send some data.
  
Click here For versions of the above source files as we modified them during class
  
Back to Current Session | Web Publishing | Faculty Directory | Maps and Directions | Search
Copyright © 1997 College of DuPage
Computer Information Systems
(630) 942-2800 x51902
goodacrc@cdnet.cod.edu
Updated 10 Jul 2003
Disclaimer