Linux High Performance Network programming socket for reading notes

Source: Internet
Author: User
# # #socket
Background: The data link layer, the network layer, and the Transport Layer protocol are all implemented in the kernel.
Purpose: Socket and XTi (the latter is not used)
Function:
1. copy the application layer data from the user buffer to the TCP/UDP kernel send buffer to deliver the kernel send data (send function) or copy data from the kernel TCP/UDP receive buffer to the user buffer to read the data
2. The application can fine-tune the behavior of the underlying communication by modifying certain header information or other data structures in the layer protocols in the kernel.
Features: A set of common network programming interface. Not only can access the TCP/UDP protocol stack in the kernel, but also can access other network protocol stacks (such as X. Protocol stack, UNIX local domain protocol stack)

Linux High Performance Network programming socket for reading notes

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.