Overview of Networking What You May Already Know About Networking in Java Networking Basics Working with URLs What Is a URL? Creating a URL Parsing a URL Reading Directly from a URL Connecting to a URL Reading from and Writing to a URLConnection All About Sockets What Is a Socket? Reading from and Writing to a Socket Writing the Server Side of a Socket All About Datagrams What Is a Datagram? Writing a Datagram Client and Server Broadcasting to Multiple Recipients Programmatic Access to Network Parameters What Is a Network Interface? Retrieving Network Interfaces Listing Network Interface Addresses Network Interface Parameters Working With Cookies HTTP State Management With Cookies CookieHandler Callback Mechanism Default CookieManager Custom CookieManager