© Kishori Sharan 2018
Kishori SharanJava APIs, Extensions and Librarieshttps://doi.org/10.1007/978-1-4842-3546-1_4

4. Network Programming

Kishori Sharan1 
(1)
Montgomery, Alabama, USA
 
In this chapter, you will learn:
  • What network programming is

  • What the network protocol suite is

  • What an IP address is and what the different IP addressing schemes are

  • Special IP addresses and their uses

  • What port numbers are and how they are used

  • Using TCP and UDP client and server sockets for communication between remote computers

  • The definitions of URI, URL, and URN and how to represent them in Java programs

  • How to use non-blocking sockets

  • How to use asynchronous socket channels

  • Datagram-oriented socket channels and multicast datagram channels

All example programs in this chapter ...

Get Java APIs, Extensions and Libraries: With JavaFX, JDBC, jmod, jlink, Networking, and the Process API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.