Python-old Boy -03_socket

Source: Internet
Author: User

Socket description:

The so-called socket is also called "socket", used to describe the IP and port, is a handle to a communication chain, the application through the "socket" to make a request to the network or answer network Requests.
Sockets originate from unix, and one of Unix/linux's philosophies is "all documents." You can do this by turning off the close mode with open open and Read-write write/read-->. The socket is an implementation of this pattern, that is, the socket is a special file

The first simple socket server side and client side

--------------------------------------------------------------------------

Python-old Boy -03_socket

Related Article

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.