Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Socket & Endpoint
#1
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:

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?
Reply


Messages In This Thread
Socket & Endpoint - by syogun - Sep-13-2017, 07:59 AM
RE: Socket & Endpoint - by Larz60+ - Sep-13-2017, 12:03 PM
RE: Socket & Endpoint - by syogun - Sep-13-2017, 12:41 PM
RE: Socket & Endpoint - by nilamo - Sep-13-2017, 10:01 PM
RE: Socket & Endpoint - by Larz60+ - Sep-13-2017, 10:38 PM
RE: Socket & Endpoint - by syogun - Sep-15-2017, 02:09 AM
RE: Socket & Endpoint - by nilamo - Sep-15-2017, 03:20 PM
RE: Socket & Endpoint - by Larz60+ - Sep-15-2017, 08:43 PM
RE: Socket & Endpoint - by syogun - Sep-16-2017, 10:20 AM
RE: Socket & Endpoint - by nilamo - Sep-18-2017, 06:14 AM
RE: Socket & Endpoint - by syogun - Sep-18-2017, 08:14 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020