Chapter 11. Distributed Programming

Table of Contents

1. The Client/Server Model
1.1. Distributed System
1.2. Advantages
1.3. The client
1.4. The server
1.5. Advantages
1.6. Communication
1.7. Networking Basics
1.8. TCP
1.9. UDP
1.10. Ports
1.11. Sockets
2. URLs
2.1. What Is a URL?
2.2. Creating a URL
2.3. Parsing a URL
2.4. Reading Directly from a URL
2.5. Connecting to a URL
2.6. Reading from and Writing to a URLConnection
2.7. Writing to a URLConnection (cgi-bin script)
3. Sockets and Streams
3.1. Stream Sockets
3.2. Supporting Multiple Clients
4. Datagrams
4.1. What Is a Datagram?
4.2. Writing a Datagram Client and Server