Tagged articles
129 articles
Page 2 of 2
Laravel Tech Community
Laravel Tech Community
Jul 25, 2020 · Backend Development

Using PHP pfsockopen() for Persistent Socket Connections

This article explains the PHP pfsockopen() function, its parameters, return values, and provides a complete example demonstrating how to establish a persistent SSL socket, send an HTTP POST request, and read the response using low‑level socket operations.

Network programmingPHPPersistent Connection
0 likes · 4 min read
Using PHP pfsockopen() for Persistent Socket Connections
Laravel Tech Community
Laravel Tech Community
Jul 24, 2020 · Backend Development

PHP fsockopen() Function: Usage, Parameters, and Examples

fsockopen() opens a network or Unix socket connection in PHP, with detailed parameter explanations, default behavior, error handling, and two practical code examples demonstrating HTTP GET requests and UDP socket usage, along with notes on blocking mode and related functions.

BackendNetwork programmingPHP
0 likes · 4 min read
PHP fsockopen() Function: Usage, Parameters, and Examples
Open Source Linux
Open Source Linux
Jul 15, 2020 · Fundamentals

Why Do TIME_WAIT Connections Accumulate and How to Fix Them?

This article explains why massive TIME_WAIT TCP connections appear under high concurrency, the impact on services, and practical methods—such as adjusting socket reuse and reducing TIME_WAIT duration—to prevent new connection failures.

LinuxNetworkingNginx
0 likes · 9 min read
Why Do TIME_WAIT Connections Accumulate and How to Fix Them?
Senior Brother's Insights
Senior Brother's Insights
Apr 10, 2020 · Backend Development

Build a Mini RPC Framework from Scratch: A Step‑by‑Step Guide

This tutorial walks through creating a lightweight RPC system, illustrating how an order service can call a product service via dynamic proxies, socket communication, serialization, and service registration, while showing Maven module setup, API design, and concrete code examples for each component.

BackendDynamic ProxyMicroservices
0 likes · 6 min read
Build a Mini RPC Framework from Scratch: A Step‑by‑Step Guide
Efficient Ops
Efficient Ops
Dec 8, 2019 · Fundamentals

Mastering TCP: Understanding States, Handshakes, and Common Issues

This article explains TCP state definitions, Linux commands for monitoring connections, the three‑way handshake, four‑way termination, common pitfalls like SYN‑Flood attacks, and practical tips such as keepalive configuration to diagnose and resolve network or socket problems.

HandshakeKeepaliveLinux
0 likes · 30 min read
Mastering TCP: Understanding States, Handshakes, and Common Issues
360 Quality & Efficiency
360 Quality & Efficiency
Sep 27, 2019 · Mobile Development

Using ADBLib in Android: Setup, Step‑by‑Step Guide, and Underlying Principles

This article explains how to integrate and use ADBLib within an Android app, covering required Gradle and manifest configurations, step‑by‑step procedures for establishing a TCP/IP connection, generating encryption keys, retrieving the device IP, creating socket connections, and executing ADB commands, along with an overview of ADBLib’s underlying architecture.

ADBADBLibAndroid
0 likes · 6 min read
Using ADBLib in Android: Setup, Step‑by‑Step Guide, and Underlying Principles
360 Tech Engineering
360 Tech Engineering
Jul 25, 2019 · Backend Development

Building a Simple C++ TCP Server from Scratch with cppbox

This article explains why the author created a custom C++ TCP server framework, outlines the required prerequisites and coding standards, and walks through a minimal echo server implementation together with the key cppbox library interfaces and usage examples.

BackendNetwork programmingServer
0 likes · 8 min read
Building a Simple C++ TCP Server from Scratch with cppbox
MaGe Linux Operations
MaGe Linux Operations
Jan 26, 2019 · Backend Development

Hijack Windows Login Passwords with a Python Socket Script

This tutorial shows how to create a Python client‑server pair that randomly generates a new Windows login password on a target machine, sends it over a socket to your server, and demonstrates how to revert the change using built‑in commands.

NetworkingSocketWindows
0 likes · 5 min read
Hijack Windows Login Passwords with a Python Socket Script
Efficient Ops
Efficient Ops
Sep 2, 2018 · Fundamentals

Master Computer Network Basics: TCP, UDP, HTTP, and Socket Essentials

This comprehensive guide walks you through the core concepts of computer networking, including the OSI and TCP/IP models, detailed explanations of TCP and UDP protocols, HTTP fundamentals, socket programming, IP addressing, ICMP, ping operations, and the differences between routers, switches, cookies, sessions, and tokens.

Computer NetworksHTTPProtocols
0 likes · 11 min read
Master Computer Network Basics: TCP, UDP, HTTP, and Socket Essentials
ITPUB
ITPUB
Mar 14, 2018 · Databases

Boost MySQL Security: Set Proper datadir Permissions, Secure Socket Placement, and Use login‑path

This guide explains three practical steps to harden MySQL installations: configuring strict datadir permission modes, relocating the MySQL socket file into the datadir with safe permissions, and leveraging the login‑path feature via mysql_config_editor to store credentials securely while simplifying client access.

Database AdministrationSocketlogin-path
0 likes · 6 min read
Boost MySQL Security: Set Proper datadir Permissions, Secure Socket Placement, and Use login‑path
Qunar Tech Salon
Qunar Tech Salon
Nov 23, 2016 · Databases

Redis Client/Server Interaction Process: A Step‑by‑Step Overview

This article provides a comprehensive, source‑code‑driven walkthrough of the Redis client‑server interaction, detailing the six main steps from socket establishment to command execution and response, while also covering auxiliary mechanisms such as beforeSleep processing, key expiration strategies, and the underlying epoll I/O multiplexing model.

Key ExpirationSocketclient-server
0 likes · 16 min read
Redis Client/Server Interaction Process: A Step‑by‑Step Overview
Architecture Digest
Architecture Digest
Oct 9, 2016 · Backend Development

Building a Minimal Game Server Framework from Scratch

This article explains how to design and implement a simple game server framework, covering the definition of server development, the two main game‑server architectures, core scene‑service requirements, a lightweight network library built on sockets, and sample C# code for connectors, server and client networking components.

FrameworkNetwork programmingSocket
0 likes · 14 min read
Building a Minimal Game Server Framework from Scratch
ITPUB
ITPUB
Sep 13, 2016 · Fundamentals

Why Does TCP TIME_WAIT Exist and How to Manage It in High‑Concurrency Servers

The article explains why TCP’s TIME_WAIT state is essential for reliable data delivery, describes how excessive TIME_WAIT sockets can exhaust port resources in high‑concurrency short‑connection servers, and offers principled and practical mitigation techniques such as kernel sysctl tweaks and careful use of SO_LINGER.

LinuxNetworkingSocket
0 likes · 9 min read
Why Does TCP TIME_WAIT Exist and How to Manage It in High‑Concurrency Servers
ITPUB
ITPUB
Apr 10, 2016 · Backend Development

Master Python Socket Programming: From Basics to Full TCP/UDP Client‑Server

This guide introduces Python’s socket module, explains socket families and types, details essential server and client functions, walks through step‑by‑step TCP connection creation, and provides complete server and client code examples for practical network programming.

Network programmingSocketTCP
0 likes · 10 min read
Master Python Socket Programming: From Basics to Full TCP/UDP Client‑Server
21CTO
21CTO
Mar 28, 2016 · Fundamentals

Mastering HTTP: From Requests to Responses and Protocol Differences

This comprehensive guide reviews the essential elements of HTTP requests and responses, explains version differences, clarifies the distinctions between HTTP, Socket, and TCP, and provides practical iOS implementation details for developers seeking a deeper understanding of web communication.

HTTPNetworkingSocket
0 likes · 12 min read
Mastering HTTP: From Requests to Responses and Protocol Differences
21CTO
21CTO
Mar 23, 2016 · Backend Development

Mastering High-Performance TCP Servers in .NET/C#: APM, TAP, SAEA & RIO Explained

This article explores four high‑performance TCP server models in .NET/C#—Asynchronous Programming Model (APM), Task‑based Asynchronous Pattern (TAP), SocketAsyncEventArgs (SAEA), and Registered I/O (RIO)—detailing their accept and read loops, implementation nuances, pooling strategies, and sample code, while highlighting performance considerations and real‑world usage.

NetworkingSocketTCP
0 likes · 14 min read
Mastering High-Performance TCP Servers in .NET/C#: APM, TAP, SAEA & RIO Explained