Learn about internet protocol tcp ip properties, we have the largest and most updated internet protocol tcp ip properties information on alibabacloud.com
I. PrefaceAt present, the speed of network development is very fast, and more people are learning the network. People with a little knowledge about the network know it.TCP/IPThe Protocol is the basis of the network and the language of the Internet.TCP/IPThe Protocol has no Internet today. At present, there are a lot of people who are known to be engaged in the
destined for a given multicast address, and the device driver must be able to receive these multicast frames. This process is "join a multicast Group" (multiple receivers exist on the same host or multiple hosts). When a host receives multicast data, he must send a replication to each process that belongs to that multicast group , which differs from the UDP that a single process receives for unicast UDP datagrams. with multicasting, there may be multiple processes on one host that belong to the
header and packet data lengthIdentifier: A uniquely identified number used to identify the order of a packet or a fragmented packetFlags: Used to mark whether a packet is a shard, and the values in that domain are used to reorganize the packets in the correct orderSurvival time: Defines the generation period of the packet, minus 1 per routerProtocol: A type used to identify upper-middle-order protocol packets in a packet sequence, such as ICMP,
IP Control Protocol
The IP protocol is only responsible for transmitting IP packets and cannot detect and control problems in the network. These tasks are completed through the Internet control
1, use the registry to set up
Step 1, start-run--regedit.exe, open Registry Editor, delete the following two keys:
Hkey_local_machinesystemcurrentcontrolsetserviceswinsock
Hkey_local_machinesystemcurrentcontrolsetserviceswinsock2
Step 2, with Notepad to open the%winroot%infnettcpip.inf file, find: [Ms_tcpip. Primaryinstall]characteristics = 0xa0
Step 3, open the TCP/IP
, you can use Ethereal to view the parsed data.
In addition, the author can also provide the C source code for capturing data. Users can embed it into their own systems. In this way, they can also generate a. cap file and view it using Ethereal.
You can download and unbind the COMgrasp.rar file "Dec 31 14-01-38. cap is the data parsing file caught by COMgrasp.exe v2.0 when IE goes through the xinlang network via MODEM. check it with Ethereal to see if it is clear at a glance.
Ethereal is a free
In the recommendation of seniors, I spent about half a month to learn the Zhang teacher's "Linux High Performance Server Programming" book. Read this book, feel this book in the breadth of knowledge is already very sufficient, on the network protocol and programming aspects of the basic knowledge stack are explained, the language is relatively easy to understand, is a certain network foundation also want to continue in-depth study of students good boo
TCP Services
TCP and UDP Use the same network layer (IP), TCP provides a connection-oriented, reliable byte throttling service.Connection-oriented means that only two parties communicate with each other. Broadcast and multicast cannot be used for TCP.The reliability of TCP
ARP: Address Resolution Protocol
When a host sends an Ethernet data frame to another host located on the same LAN, the destination interface is determined based on the 48-bit ethernet address. Device DriverProgramNever check the destination IP address in the IP datagram.
The IP address resolved to a 32-bit
"TCP/IP Detailed Volume 1: Protocol" 14th DNS: Domain Name System---reading notes1. Introduction5. Pointer queryA part of DNS that has been hard to understand is the pointer query, which is given an IP address that returns the domain name corresponding to that address.When an organization joins the
, switch, and router. When the TCP connection is established, the ARP cache table is queried, and if it is valid, the content of the ARP table entry is sent directly to the second layer packet, and only when the table fails, the ARP request and reply are taken for MAC address to establish the TCP connection.The role of ARPTo understand the role of ARP, the first thing to distinguish between two "address":(1
I. Hierarchy of TCP/IP protocol clusters:II. Specific protocols include:Note: 1. ARP and RARP are used for switching between physical addresses and network addresses. They should belong to the physical link layer. However, since ARP and RARP both have their own frame types in Ethernet frames, they are drawn between Ethernet drivers and
be combined with diagrams to understand
And look at the head data for the packet.
The front is the frame header, IP header, the front of the UDP is introduced, it will not be expanded. The following includes the TCP header and data.
Because the TCP header has a fixed length of 20 bytes, the variable length is 40 bytes, mainly during the link establishment phas
the network will receive ARP requests. If the request matches the IP address of a machine, the machine sends a response containing the required hardware address. The response is sent directly to another machine rather than broadcast. Because the request sent by A to B also contains the binding of A's IP address to the physical address.
3. To successfully use RARP, the network must contain at least one RARP
of string lines:
Slip:serial Line IP, a simple format for encapsulating IP datagrams on serial lines, is described in RFC1055. Features, simple
PPP: Point-to-point protocol that modifies all defects in the SLIP protocol, including 3 parts
1 Methods for encapsulating IP pack
1:bsd TCP/IP stack, BSD stack historically is the starting point of other commercial stacks, most professional TCP/IP stacks (vxworks embedded TCP/IP stacks) are BSD stack derived. This is because the BSD stack provides the protot
defines the structure related to error handling
Include/NET/inetpeer. h defines the structure, Macro, and function prototype of the peer information block.
Include/NET/DST. h define the structure, Macro, and function prototype of the destination route Cache
Net/IPv4/ip_output.c IP datagram output
Net/IPv4/ip_sockglue.c IP layer interface Option
Net/IPv4/ip_input.c IP
the languages of both parties should also be the same.
Communication between computers also requires rules, so TCP/IP appears. TCP/IP and IP are two Protocols respectively, while TCP/IP
maintain connectivity and detect changes in network topology.9, Cdir (Classless interdomain Routing): CIDR is essentially designed to reduce the table entries in routers in the Internet. We know that for each class C address, the corresponding routing table entry is added to the router, so the entire routing table becomes very verbose. So our very normal idea is to combine several high-level class C networks, so that only one route table entry is add
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.