Java Summary of the network

Source: Internet
Author: User

"Network Fundamentals Concept"
What is a computer network:
The distribution of computers in different geographical regions and specialized external equipment with communication lines interconnect into a large-scale, powerful network system, so that many computers can easily transfer information to each other, share hardware, software, data information and other resources.
The main functions of computer network:
Resource sharing
Information transmission and centralized processing
Balanced load and no output
Integrated Information Services (www/Integrated Services Digital Network ISDN)
"Network communication protocols and Interfaces"
What is a network communication protocol:
In the computer network, there must be some decisions about communication protocol, such as rate, transmission code, code structure, Transmission Control step, error control and so on.
Network communication interface:
In order for a conversation to be made between two nodes, a communication tool (the interface) must be established between them so that information can be exchanged between each other. The interface consists of two parts:
Hardware Device: Realizes the information transfer between nodes
Software device: A contractual agreement that provides for communication between the parties
"IP Protocol"
The IP (Internet Protocol) protocol is the primary protocol to the primary level, supporting datagram communication between interconnected networks. It provides the main features:
No connection packet delivery
Datagram Routing and error control
"TCP protocol and UDP Protocol"
TCP (Transmission Control Protocol)
is a protocol specifically designed to provide reliable, end-to-end byte-stream communication on unreliable internet. It is a connection-oriented protocol. The TCP link is the detail six rather than the message stream.
UDP (User Data Protocol)
UDP provides a way for an application to send an encapsulated raw IP datagram, and it does not need to establish a connection when it is sent. is an unreliable link.
"Socket"
Two Java applications can exchange data through a two-way network communication connection, a section of this bidirectional link is called a socket.
Sockets are commonly used to implement Client-server links.
The two class sockets and ServerSocket defined in the java.net package are used to implement the client and server side of the two-phase connection respectively.
The IP address and port number of the remote computer that is required to establish the connection


Java Summary of the network

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.