"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