CPSC 559 - Introduction to Distributed Systems
Handouts
Socket and Threading Examples
- Client1.java - basic client connects to all the severs
- Server1.java - basic server, accepts one connection at a time
- Server2.java - server to accept multiple clients - uses worker threads to handle connection
- Server2Thread.java - worker thread for Server2, handles client connections
Page Updated: July 11, 2008 at 2240 MDT