Tag

Socket Programming

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Apr 24, 2025 · Backend Development

Introduction to Socket Programming in Python: TCP and UDP Examples

This article explains the fundamentals of socket programming in Python, covering basic concepts such as IP addresses, ports, and protocols, and provides complete TCP and UDP server/client code examples along with common troubleshooting tips and advanced modules for building robust network applications.

PythonSocket ProgrammingTCP
0 likes · 7 min read
Introduction to Socket Programming in Python: TCP and UDP Examples
php中文网 Courses
php中文网 Courses
Mar 3, 2025 · Backend Development

Implementing Enterprise Internal Communication with the CoID Protocol Using PHP

This article explains the CoID (Corporation Internal Communication) protocol and provides complete PHP server and client code examples that demonstrate how to build reliable, secure internal messaging between enterprise systems using TCP sockets.

CoID ProtocolNetwork CommunicationPHP
0 likes · 4 min read
Implementing Enterprise Internal Communication with the CoID Protocol Using PHP
Deepin Linux
Deepin Linux
Jan 9, 2025 · Backend Development

Deep Dive into Network I/O: Principles, Socket Types, and epoll Multiplexing

This article explains the fundamentals of network I/O, covering hardware basics, process scheduling, blocking and non‑blocking models, multiplexed I/O techniques such as select/poll/epoll, asynchronous I/O, socket types, and the user‑kernel boundary, providing a comprehensive guide for backend developers.

LinuxMultiplexingSocket Programming
0 likes · 39 min read
Deep Dive into Network I/O: Principles, Socket Types, and epoll Multiplexing
php中文网 Courses
php中文网 Courses
Jun 21, 2024 · Backend Development

Implementing CoID Protocol for Enterprise Internal Communication Using PHP

This article explains the CoID (Corporation Internal Communication) protocol and provides step‑by‑step PHP code examples for building a TCP socket server and client that exchange JSON‑encoded messages, demonstrating how to achieve reliable, secure internal communication within an enterprise.

CoID ProtocolNetwork CommunicationPHP
0 likes · 4 min read
Implementing CoID Protocol for Enterprise Internal Communication Using PHP
php中文网 Courses
php中文网 Courses
May 22, 2024 · Backend Development

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

This course provides an in‑depth exploration of core backend concepts, covering process fundamentals, TCP/IP socket communication, Nginx integration with PHP‑FPM via FASTCGI, host‑to‑network byte order conversion, and Redis basics, aiming to equip developers, sysadmins, and network engineers with comprehensive backend development skills.

RedisSocket Programmingbackend development
0 likes · 3 min read
Comprehensive Backend Development Course: Processes, Socket Programming, Nginx, FASTCGI, Byte Order, and Redis Fundamentals
Deepin Linux
Deepin Linux
Oct 9, 2023 · Fundamentals

Fundamentals of Computer Networks, Network Programming, and Asynchronous I/O

This article provides a comprehensive overview of computer networking fundamentals, including C/S and B/S architectures, OSI layers, TCP/UDP protocols, socket programming, code examples, and the concepts of synchronous, asynchronous, blocking, and non‑blocking I/O in Linux.

Computer NetworksOSI modelSocket Programming
0 likes · 28 min read
Fundamentals of Computer Networks, Network Programming, and Asynchronous I/O
ByteDance SYS Tech
ByteDance SYS Tech
Aug 18, 2023 · Fundamentals

Unlocking Board‑Level Communication: A Practical Guide to MCTP and AF_MCTP on Linux

This article explains the Management Component Transport Protocol (MCTP), its Linux address family implementation AF_MCTP, driver and network configuration steps, socket programming examples, debugging techniques, and real‑world applications for component monitoring and management in firmware ecosystems.

AF_MCTPLinux KernelMCTP
0 likes · 10 min read
Unlocking Board‑Level Communication: A Practical Guide to MCTP and AF_MCTP on Linux
Test Development Learning Exchange
Test Development Learning Exchange
Jul 12, 2023 · Fundamentals

Python Network Port Scanner Tutorial

This article provides a comprehensive guide on building a network port scanner using Python, covering implementation principles, code examples, and practical usage instructions.

Network SecurityPort ScannerProgramming Tutorial
0 likes · 8 min read
Python Network Port Scanner Tutorial
Tencent Cloud Developer
Tencent Cloud Developer
Jul 20, 2022 · Fundamentals

Deep Dive into the TCP Three‑Way Handshake from the Linux Kernel Perspective

The article explains how the Linux kernel implements the TCP three‑way handshake, detailing server listen queue allocation, client connect port selection and SYN transmission, SYN‑ACK processing, state transitions, request‑socket management, full‑connection queue handling, and the final accept call, plus tuning tips.

CONNECTLinux KernelSocket Programming
0 likes · 19 min read
Deep Dive into the TCP Three‑Way Handshake from the Linux Kernel Perspective
Architecture Digest
Architecture Digest
May 6, 2022 · Fundamentals

Understanding Port Listening with Python Socket Examples

This article uses a conversational story to explain what it means to listen on a network port, covering TCP vs UDP, binding to specific IPs, reuse‑port options, IPv4 and IPv6 differences, and demonstrates the concepts with multiple Python socket code snippets.

IPv4IPv6Python
0 likes · 13 min read
Understanding Port Listening with Python Socket Examples
IT Services Circle
IT Services Circle
Mar 12, 2022 · Fundamentals

Comprehensive Guide to TCP: Header Structure, Handshakes, Connection Management, and Socket Programming

This article provides an in‑depth tutorial on TCP, covering its header structure, three‑way handshake, reasons for three handshakes, four‑way termination, TIME_WAIT, SYN attacks, Linux kernel parameters, and practical socket programming examples, all illustrated with diagrams and code snippets.

Connection ManagementNetworkingSocket Programming
0 likes · 43 min read
Comprehensive Guide to TCP: Header Structure, Handshakes, Connection Management, and Socket Programming
IT Services Circle
IT Services Circle
Feb 13, 2022 · Fundamentals

Implementing a Simple FTP‑Like File Transfer Using TCP Sockets in C

This article demonstrates how to create a basic FTP‑like file transfer application in C using Windows Winsock, covering both server and client implementations, handling file size negotiation, data transmission loops, and compilation steps, with complete source code examples.

C++Socket ProgrammingTCP
0 likes · 6 min read
Implementing a Simple FTP‑Like File Transfer Using TCP Sockets in C
Refining Core Development Skills
Refining Core Development Skills
Jan 24, 2022 · Fundamentals

How Linux Servers Handle 0.0.0.0 Binding: A Deep Dive into Network Socket Implementation

This article explains how Linux servers handle binding to 0.0.0.0, detailing the internal mechanisms of socket binding, listening, and packet processing, with source code analysis to clarify the differences between binding to 0.0.0.0 versus specific IP addresses.

0.0.0.0 bindingLinux networkingSocket Programming
0 likes · 6 min read
How Linux Servers Handle 0.0.0.0 Binding: A Deep Dive into Network Socket Implementation
Youzan Coder
Youzan Coder
May 31, 2021 · Backend Development

16 TCP Network Programming Best Practices for Building Robust Applications

The article presents sixteen practical TCP network‑programming best practices—from setting SO_REUSEADDR and defining port standards to using application‑layer heartbeats, exponential backoff, connection limits, client‑side load balancing, periodic DNS refresh, optimal buffer sizing, configurable timeouts, proper connection‑pool sizing, and comprehensive metrics—to help developers build stable, reliable applications.

Connection PoolLinux TCPLoad Balancing
0 likes · 28 min read
16 TCP Network Programming Best Practices for Building Robust Applications
Java Captain
Java Captain
Nov 14, 2020 · Backend Development

Netty‑Based Chat Application: Functional Implementation and Code Walkthrough

This article presents a comprehensive walkthrough of a Java chat application built with Netty for server‑side communication and Swing for the client UI, detailing functional features such as password, nickname, and signature updates, friend management, single‑chat messaging, online status detection, and includes full source code snippets and execution screenshots.

Chat ApplicationFriend ManagementJava
0 likes · 19 min read
Netty‑Based Chat Application: Functional Implementation and Code Walkthrough
Architecture Digest
Architecture Digest
Sep 30, 2020 · Backend Development

Introduction to Linux Socket Programming and OpenResty Deployment

This article explains Linux socket programming techniques such as non‑blocking I/O and epoll, discusses caching and asynchronous design for high‑performance servers, and provides a step‑by‑step guide to installing, configuring, and developing with OpenResty (Nginx + Lua) on Linux and Windows environments.

LuaOpenRestySocket Programming
0 likes · 12 min read
Introduction to Linux Socket Programming and OpenResty Deployment
Efficient Ops
Efficient Ops
Aug 16, 2020 · Backend Development

Build High‑Performance Web Services with OpenResty and Linux Socket I/O

This guide explains how to use Linux non‑blocking socket APIs (select, poll, epoll) and the OpenResty platform (Nginx + LuaJIT) to create scalable, high‑concurrency web services, covering architecture, caching strategies, and step‑by‑step installation and configuration.

LinuxLuaOpenResty
0 likes · 11 min read
Build High‑Performance Web Services with OpenResty and Linux Socket I/O
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 14, 2019 · Fundamentals

How to Replace TCP FIN with RST Using SO_LINGER in Go

This article explains why TIME_WAIT occurs, its resource impact, and demonstrates two optimization strategies—accelerating TIME_WAIT reclamation and using the SO_LINGER option to send an RST packet instead of the normal FIN handshake, with complete Go client and server examples and packet‑capture analysis.

GoSO_LINGERSocket Programming
0 likes · 8 min read
How to Replace TCP FIN with RST Using SO_LINGER in Go