Image Description of the SOCKET protocol
The original meaning of socket is "hole" or "socket ". Here we use the 4bds UNIX Process
Information mechanism, take the latter meaning. Socket is very similar to a telephone outlet. Take a national-level
HTTP protocol: Simple Object Access Protocol, corresponding to the application layer, HTTP protocol is based on TCP connection
TCP Protocol: Corresponds to the transport layer
IP Protocol: Corresponds to the network layer
TCP/IP is a Transport
Windows Socket API usage experienceThis article is some of my experiences in MS-windows and HP-UNIX network programming. It is for your reference only. If the socket function mentioned in this article is not specifically described, it refers to the
What is socket
A socket interface is an API of a TCP/IP network. A socket interface defines many functions or routines. programmers can use it to develop applications on a TCP/IP network. To learn TCP/IP network programming on the internet, you
The difference between HTTP, TCP/IP protocol and socket Network is divided from bottom to top: www.2cto.com Physical Layer- &NBSP Data Link layer--network layer-- IP Protocol Transport Layer--
this article reprinted to http://www.2cto.com/net/201211/166537.html
The difference between HTTP, TCP/IP protocol and socket network from bottom to top: www.2cto.com Physical Layer-
The network is divided from bottom to top : corresponding Physical Layer-- Data Link layer-- Network Layer--IP protocol Transport Layer--TCP protocol Session Layer-- presentation layer and Application Layer-HTTP protocol 1. TCP/IP connection Mobile
Based on Linux kernel 3.2.1
Original works, reprint please mark http://blog.csdn.net/yming0221/article/details/7984238
For more information, see column http://blog.csdn.net/column/details/linux-kernel-net.html
Author: Yan Ming
1. during system
1. IntroductionThe rise of Linux is a miracle created by the Internet. Linux, as a free software that fully opens its original code, is compatible with various Unix standards (such as POSIX, UNIX System V, and bsd unix) multi-user, multi-task
Document directory
1. Introduction
2. What is socket?
3. Three types of socket
4. Use a socket to send data
5. Data Structure of socket in Linux
6. Network byte sequence and its conversion functions
7. IP address conversion
8. byte
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.