A. A-round target
- Review the basics of network programming, focus on learning the TCP three handshake four waves, and possible anomalies.
- Recalling Socket programming, for many years did not write (Chao) over the relevant code.
- Re-learning NIO, previously learned the basic forgotten, after all, has never been used in the project.
- Learn Netty, learn basic usage, write a simple project practiced hand.
- Scan Netty Core source code, learn about its threading model, and focus on learning how Netty uses NIO.
- Search for interview questions, check the gaps.
B. Basic knowledge
Reference: "Java Network programming fourth Edition"
internetwork (Internet Layer): defines how data bits and bytes are organized into larger groupings, called packages , and also defines the addressing mechanism (IP Address) that different computers will look for each other according to this addressing mechanism.
Internet Protocol (IP) is the only network layer protocol that Java understands. IPv4 and IPv6 do not interoperate.
In IPv4, data is transmitted on a packet-by-layer basis, and these packets are called Datagrams (datagram).
Transport Layer (Transport Layer): responsible for ensuring that packets are received in the order they are sent and that no data is lost or destroyed. TCP and UDP.
URI: A Uniform Resource identifier (Uniform Resource Identifier) is a string that identifies a resource in a specific syntax. Its syntax is pattern: a specific part of a pattern. The syntax for a particular part of a pattern is much more //authority/path?query, such as https://www.bucunzai.com/huanjue?zhishang=250.
A typical URI is an ASCII letter, a number, and a partial symbol (-_. ! ~), the other characters are escaped with%, followed by the hexadecimal code that the character is encoded by UTF-8.
<wiz_tmp_tag id= "Wiz-table-range-border" contenteditable= "false" style= "Display:none;" >
Java Network Programming Learning A-round _01_ target and basic review