Java Network Programming Learning A-round _01_ target and basic review

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.