Java Networking Related (Java Examples in a Nutshell 3rd Edition)

Examples to:

  • Use URL class to parse URLs and download the network resources specified by a URL
  • Use URLConnection class to gain more cntrl over the downloading of network resources
  • Write client programs that use the Socket class to communicate over the network
  • Use the Socket and SerberSocket classes to write servers
  • Send and receive low-overhead datagram packets

Use java.nio package to write efficient server programs, (instead of stream based java.io methods, it uses channel based methods)

 

posted on 2016-04-16 09:39  三叁  阅读(193)  评论(0编辑  收藏  举报

导航