Hi, everyone. Here is the short version of my question: What is an endpoint instance?
First I want to understand Asynchronous Python, then I find an article in Medium. The author mentioned Eventlet Networking Library, so I went to the docs page. It says:
Again, I feel confused. What dose a networking library do? I googled 'python networking' and find a tutorial about Python Networking Library.
So, what is the socket? Google socket again. In Stack Overflow I found an answer:
What is an endpoint instance? I read some articles but I still have no idea. Did I miss something fundamental? Why are there so many concept that I can't understand? Any suggestions? What should I learn now?
First I want to understand Asynchronous Python, then I find an article in Medium. The author mentioned Eventlet Networking Library, so I went to the docs page. It says:
Quote:Eventlet is a concurrent networking library for Python that allows you to change how you run your code, not how you write it.
Again, I feel confused. What dose a networking library do? I googled 'python networking' and find a tutorial about Python Networking Library.
Quote:Python provides two levels of access to network services. At a low level, you can access the basic socket support in the underlying operating system, which allows you to implement clients and servers for both connection-oriented and connectionless protocols.
So, what is the socket? Google socket again. In Stack Overflow I found an answer:
Quote:A TCP socket is an endpoint instance defined by an IP address and a port in the context of either a particular TCP connection or the listening state.
What is an endpoint instance? I read some articles but I still have no idea. Did I miss something fundamental? Why are there so many concept that I can't understand? Any suggestions? What should I learn now?