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)

上一篇:Fedora 24中的日志管理


下一篇:2017/4/25-SAX解析XML文件