Tag

Socket

0 views collected around this technical thread.

Architect's Guide
Architect's Guide
Jun 9, 2025 · Fundamentals

Why 65,535 Isn’t the True Limit for TCP Connections on Linux Servers

The article explains that the 65,535 limit refers only to available port numbers, while actual TCP concurrency on Linux depends on the 4‑tuple identification, memory, file‑descriptor limits, and port reuse, allowing servers to handle far more connections than the port count suggests.

LinuxSocketTCP
0 likes · 12 min read
Why 65,535 Isn’t the True Limit for TCP Connections on Linux Servers
Deepin Linux
Deepin Linux
Apr 21, 2025 · Backend Development

POSIX Multithreading and Network Programming in C: Threads, Synchronization, and Socket APIs

This article introduces the POSIX standard for portable multithreaded and network programming in C, explains thread creation, lifecycle, and synchronization mechanisms such as mutexes, semaphores and condition variables, and provides complete server‑client socket examples together with practical multithreaded file‑processing code and debugging tips.

C++POSIXSocket
0 likes · 23 min read
POSIX Multithreading and Network Programming in C: Threads, Synchronization, and Socket APIs
Cognitive Technology Team
Cognitive Technology Team
Mar 24, 2025 · Fundamentals

Understanding Sockets and epoll: Kernel Abstractions and High‑Concurrency Design

Socket provides a file‑descriptor based network communication abstraction in the OS, while epoll uses a red‑black‑tree and ready‑queue mechanism to deliver O(log N) scalable I/O event handling, together forming the core design that enables high‑concurrency servers to efficiently manage thousands of connections.

IO MultiplexingLinuxSocket
0 likes · 7 min read
Understanding Sockets and epoll: Kernel Abstractions and High‑Concurrency Design
Raymond Ops
Raymond Ops
Mar 11, 2025 · Backend Development

Master Go Socket and HTTP Programming: From Dial to Custom Requests

This article explains Go's socket programming workflow, the versatile net.Dial function for TCP, UDP, and ICMP connections, provides complete ICMP and TCP example programs, and then covers HTTP client usage with net/http, including basic methods, form posts, and custom request handling.

BackendGoHTTP
0 likes · 12 min read
Master Go Socket and HTTP Programming: From Dial to Custom Requests
Raymond Ops
Raymond Ops
Feb 11, 2025 · Fundamentals

Understanding TCP/IP Architecture, Encapsulation, ARP & DNS Basics

This article explains the TCP/IP four-layer architecture, detailing each layer’s role, the encapsulation and decapsulation processes, and provides in‑depth coverage of ARP and DNS protocols, including packet structures, Linux commands, and practical packet‑capture examples using tcpdump.

ARPDNSEncapsulation
0 likes · 20 min read
Understanding TCP/IP Architecture, Encapsulation, ARP & DNS Basics
Deepin Linux
Deepin Linux
Dec 18, 2024 · Backend Development

Understanding Linux Kernel Sockets: Concepts, Types, and API Functions

This article provides a comprehensive overview of Linux socket programming, covering socket definitions, classifications such as stream, datagram, and raw sockets, connection-oriented versus connectionless communication, IP/port/MAC addressing, byte order considerations, and practical C API examples for creating and using sockets.

C++LinuxSocket
0 likes · 35 min read
Understanding Linux Kernel Sockets: Concepts, Types, and API Functions
Test Development Learning Exchange
Test Development Learning Exchange
Sep 28, 2024 · Backend Development

Using Python's socket Library to Simulate HTTP Requests: Basic and Advanced Examples

This article explains how to use Python's socket module to craft and send raw HTTP GET, POST, and custom‑header requests, then shows how to encapsulate the logic into reusable classes that handle authentication, redirects, cookies, and HTTPS, providing a low‑level networking toolkit for developers.

HTTPSocketnetworking
0 likes · 12 min read
Using Python's socket Library to Simulate HTTP Requests: Basic and Advanced Examples
Code Mala Tang
Code Mala Tang
Aug 16, 2024 · Fundamentals

Why Emoji Turn into Question Marks? Master Unicode Encoding and Fix Socket Transmission

This article explains why emojis become garbled when transmitted via sockets, explores Unicode encoding fundamentals—including UTF‑8, BMP and high‑code‑point characters—and provides practical solutions using codePointAt, TextEncoder, and TextDecoder to ensure correct emoji handling.

SocketTextDecoderTextEncoder
0 likes · 11 min read
Why Emoji Turn into Question Marks? Master Unicode Encoding and Fix Socket Transmission
php中文网 Courses
php中文网 Courses
Apr 16, 2024 · Backend Development

Backend Development Fundamentals: Processes, Sockets, TCP/IP, Nginx, FASTCGI, Byte Order, and Redis

This course provides an in‑depth exploration of core backend concepts—including processes, socket programming with TCP/IP, Nginx‑FASTCGI communication, host‑to‑network byte order conversion, and Redis fundamentals—to equip developers, system administrators, and network engineers with comprehensive backend development skills.

BackendNginxProcesses
0 likes · 2 min read
Backend Development Fundamentals: Processes, Sockets, TCP/IP, Nginx, FASTCGI, Byte Order, and Redis
Cognitive Technology Team
Cognitive Technology Team
Feb 17, 2024 · Fundamentals

Understanding TCP Connection Termination: Four-Way Handshake, Half‑Close, Shutdown, and TIME_WAIT

This article explains how TCP connections are gracefully closed using the four‑way handshake, describes half‑close and half‑open states, compares the close and shutdown system calls, details the TIME_WAIT state and its impact, and offers practical techniques to reduce or avoid TIME_WAIT accumulation.

SocketTCPTIME_WAIT
0 likes · 12 min read
Understanding TCP Connection Termination: Four-Way Handshake, Half‑Close, Shutdown, and TIME_WAIT
php中文网 Courses
php中文网 Courses
Feb 5, 2024 · Backend Development

Backend Development Fundamentals: Processes, Socket Programming, Nginx FASTCGI, Byte Order, and Redis Basics

This course offers an in‑depth exploration of process concepts, TCP/IP and Socket communication, Nginx‑FASTCGI integration, host‑to‑network byte order conversion, and Redis fundamentals, targeting backend developers, system administrators, and network engineers seeking comprehensive backend skill enhancement.

BackendFastCGINginx
0 likes · 3 min read
Backend Development Fundamentals: Processes, Socket Programming, Nginx FASTCGI, Byte Order, and Redis Basics
Architect's Guide
Architect's Guide
Jan 8, 2024 · Backend Development

Netty TCP Client Demo with Local Queue, Redis Lock, and Spring Boot Integration

This article presents a complete Netty TCP client demo that uses a local BlockingQueue to simulate a message broker, applies Redis distributed locks to prevent duplicate connections, integrates Spring Boot 2.2.0, and provides detailed code, workflow, and testing instructions for developers.

JavaNettyRedis
0 likes · 17 min read
Netty TCP Client Demo with Local Queue, Redis Lock, and Spring Boot Integration
php中文网 Courses
php中文网 Courses
Dec 27, 2023 · Backend Development

Using PHP’s fsockopen() Function to Open Network Connections

This article explains the PHP fsockopen() function, detailing its syntax, parameters, return values, and provides a complete example that demonstrates opening a TCP connection, sending an HTTP request, handling errors, and reading the response, including notes on SSL connections.

BackendPHPSocket
0 likes · 4 min read
Using PHP’s fsockopen() Function to Open Network Connections
Architect's Guide
Architect's Guide
Dec 10, 2023 · Fundamentals

Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools

This article explains the OSI seven‑layer model, the mechanics of TCP three‑way handshake and four‑way termination, differences between TCP and UDP, long‑living socket connections, custom protocol design, and how to implement a socket connection pool for high‑concurrency backend services.

BackendConnection PoolOSI model
0 likes · 14 min read
Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools
Deepin Linux
Deepin Linux
Oct 13, 2023 · Fundamentals

Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code

This article explains the fundamentals of sockets as a network communication abstraction, covering process communication, TCP/UDP protocols, socket descriptors, key system calls, the TCP three‑way handshake and four‑way termination, Linux kernel basics, and provides complete C examples for a server and client.

C++LinuxSocket
0 likes · 45 min read
Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2023 · Backend Development

Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth

This article demonstrates how Spring Boot’s connectionTimeout setting influences server‑client connections, using three experiments—controller sleep, HttpURLConnection requests, and raw socket communication—to reveal that the timeout only terminates idle client connections, not the duration of request processing.

HTTPJavaSocket
0 likes · 4 min read
Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth
Architect's Guide
Architect's Guide
Sep 23, 2023 · Backend Development

Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools

This article explains the fundamentals of network protocols—including the OSI model, TCP three‑way handshake and four‑way termination, UDP characteristics, long versus short socket connections, custom application‑layer protocols, and how to implement a reusable socket connection pool in Node.js.

Connection PoolSocketTCP
0 likes · 17 min read
Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 1, 2023 · Backend Development

Why Spring Boot’s connectionTimeout Doesn’t Affect Request Time – Experiments Explained

This article experiments with Spring Boot’s Tomcat connectionTimeout setting using controller delays, HttpURLConnection requests, and raw socket connections, demonstrating that the timeout only applies when a client stays idle after connecting, not to request processing time or client type.

BackendJavaSocket
0 likes · 5 min read
Why Spring Boot’s connectionTimeout Doesn’t Affect Request Time – Experiments Explained
FunTester
FunTester
Aug 27, 2023 · Backend Development

Implementing a Netty WebSocket Client in Java

This article explains how to replace thread‑heavy WebSocket or Socket.IO clients with a Netty‑based Java WebSocket client, covering Maven dependencies, connection setup, event‑loop management, message sending, and a custom channel handler for high‑concurrency scenarios.

BackendJavaNetty
0 likes · 10 min read
Implementing a Netty WebSocket Client in Java