GeistHaus
log in · sign up

socket — Low-level networking interface

docs.python.org

Source code: Lib/socket.py This module provides access to the BSD socket interface. It is available on all modern Unix systems, Windows, MacOS, and probably additional platforms. Availability: not ...

22 pages link to this URL
Utilities

Useful methods for working with http.client, completely decoupled from code specific to urllib3. At the very core, just like its predecessors, urllib3 is built on top of http.client – the lowest le...

6 inbound links website en
Linux Sockets: Domains and Types

The socket is one of the most crucial primitives for systems communication. It is the endpoint on which an application can send and/or receive information, either between processes on the same system, or to any other network-connected system. Tens or perhaps even hundreds were used behind the scenes for the simple task of getting this blog post to reach your screen. They are a fundamental aspect of how applications and systems communicate with each other.

0 inbound links article en blog linuxsockets
Checking host availability with Python and AWS Lambda

How to check host availability with AWS Lambda and minimal footprint

0 inbound links article en networks networkscodebloghobbyrarehomebrewcleanminimalgamingemulationittechnicalpcretrodesignguicliretrocomputingretrogaming2d3dvintageclassicoldoldschooldowngradedosamigachiptunedemoscenegeeknerdpixelopensourcelinuxmacosbsdbashpythongolangawsfreehugogithubsoftwareprogrammingsysadmindevopstroubleshootingtinkeringtweaksworkaroundguidetutorialmanualwalkthroughreview
Timeouts and HTTP Connection Reuse

When building an application which talks to some dependencies over the network it's generally recommended to always specify timeouts[^default-timeouts]. This...

0 inbound links article en
Python and sendfile

sendfile(2) is a UNIX system call which provides a

0 inbound links article en pythonpython-devsendfilezerocopynetworkrecipesocket
Sockets and TCP Connections

Last time I wrote about UDP, a simple but unreliable abstraction over IP. For reliable data transfer, the key protocol is TCP. However, this reliability comes at a cost: TCP is significantly more complicated than UDP. Rather than slog through RFC 793, we can start by looking at Python’s socket library. This is just a Pythonic wrapper around BSD sockets. These allow you to interact with network interfaces more-or-less as if they were files (e.g. with read and write, or their counterparts recv and send).

0 inbound links article en posts networkingNetworking