Tagged articles
Sockets
29 articles · Page 1 of 1
This comprehensive guide breaks down Linux inter‑process communication (IPC) by explaining its core concepts, why it’s needed, and detailing six mechanisms—pipes, named pipes, message queues, shared memory, semaphores/PV operations, signals, and sockets—complete with code samples, diagrams, and real‑world usage scenarios.
IPCLinuxShared Memory
0 likes · 49 min read

This comprehensive guide explores Linux inter‑process communication (IPC), explaining why processes need to communicate, the underlying kernel mechanisms, and detailed coverage of pipes, FIFOs, signals, files, shared memory, message queues, and sockets with practical code examples and real‑world use cases.
IPCLinuxShared Memory
0 likes · 48 min read

This tutorial explains the basic concepts of TCP and UDP protocols, their differences, how network ports work, and demonstrates through examples whether TCP and UDP sockets can share the same port number.
SocketsTCPUDP
0 likes · 7 min read

This article provides a comprehensive guide to Linux inter‑process communication (IPC), covering pipes, named pipes, signals, file‑based communication, semaphores, various shared‑memory techniques, message queues, sockets, and Unix domain sockets, each explained with concepts, typical use‑cases, diagrams and complete C code examples.
IPCInterprocess CommunicationLinux
0 likes · 32 min read

This article provides an extensive overview of C++ network programming concepts frequently asked in interviews, covering sockets, TCP/UDP differences, I/O multiplexing models, handshake mechanisms, packet framing issues, concurrency strategies, code examples for servers and clients, and performance optimization techniques.
C++SocketsTCP
0 likes · 85 min read

This article explains why Linux processes need to communicate, describes the kernel‑mediated IPC framework, compares shared‑memory and message‑passing approaches, and provides detailed code examples for pipes, FIFOs, signals, files, semaphores, sockets, plus real‑world use cases and case studies.
IPCInterprocess CommunicationLinux
0 likes · 31 min read

This article provides a detailed, step‑by‑step overview of every Linux interprocess communication mechanism—including pipes, signals, files, semaphores, shared memory, message queues, sockets, and Unix domain sockets—complete with concepts, usage scenarios, diagrams, and full code examples.
IPCLinuxPipe
0 likes · 32 min read

This course provides an in‑depth exploration of process fundamentals, socket programming with TCP/IP, Nginx and FASTCGI communication, host‑to‑network byte order conversion, and Redis basics, targeting backend engineers, system administrators, and network engineers seeking comprehensive backend development skills.
RedisSocketsbyte order
0 likes · 3 min read

This article explains the fundamentals of socket programming in Python by demonstrating how to build a lightweight UDP-based chatroom, covering socket creation, common methods, and complete server‑client examples with code snippets for multi‑user communication.
BackendChatroomPython
0 likes · 8 min read

This guide explains the core Linux inter‑process communication mechanisms—including pipes, signals, files, semaphores, shared memory, message queues, sockets, and Unix‑domain sockets—detailing their concepts, typical use‑cases, and providing concise C code examples for each.
IPCLinuxShared Memory
0 likes · 31 min read

The course provides an in‑depth study of processes, socket communication (including TCP/IP), Nginx with FASTCGI, byte‑order conversion, and fundamental Redis operations, targeting backend developers, system administrators, and network engineers to comprehensively boost their backend development expertise.
NetworkingRedisSockets
0 likes · 2 min read

This article explains the characteristics and ideal use cases of UDP, then walks through step‑by‑step Go code for creating UDP connections, sending and receiving datagrams, and a complete client‑server example, helping developers leverage UDP’s low latency and lightweight nature for real‑time communication, streaming, and IoT scenarios.
DatagramGoSockets
0 likes · 10 min read

This guide explains what a process is, how it differs from a thread, various ways to create and terminate processes in Linux, and provides detailed examples of inter‑process communication mechanisms—including message queues, shared memory, UNIX domain sockets, pipes, and semaphores—complete with C code samples.
C++IPCLinux
0 likes · 31 min read

This article demystifies the true reasons behind Redis's speed by exploring low‑level I/O mechanisms—from basic BIO to NIO and the Reactor model—explaining socket creation, connection handling, blocking behavior, and how Java’s non‑blocking APIs and system calls work together to achieve high‑throughput networking.
BIOI/ONIO
0 likes · 33 min read

This article explains the concept of Remote Procedure Call (RPC), demonstrates how to build a lightweight PHP RPC server and client with socket programming, shows the full source code, execution steps, and explains the custom protocol used for cross‑language method invocation.
PHPRPCSockets
0 likes · 6 min read

This article summarizes a series of technical Q&A from an OSChina event covering Linux networking fundamentals such as port limits, network namespaces, TCP connection handling, C10K problem, packet loss troubleshooting, TCP memory usage, high CPU causes, useful monitoring tools, kernel parameters, and practical socket examples.
LinuxNetworkingSockets
0 likes · 12 min read

This article explains the complete lifecycle of socket communication—from creation within the TCP/IP stack, through connection establishment, data transmission with TCP and UDP, to graceful termination—detailing control information, packet sizing, ACK mechanisms, sliding windows, and practical inspection using netstat.
SocketsTCPTCP/IP stack
0 likes · 11 min read

This article explains the Linux kernel’s internal process for binding a server socket to 0.0.0.0 (INADDR_ANY), covering the bind operation, handshake handling, and how the kernel matches incoming packets, with illustrative C code snippets.
BINDINADDR_ANYLinux
0 likes · 9 min read

This article dives deep into the Linux kernel implementation of the TCP three‑way handshake, explaining the roles of listen, connect, SYN/ACK processing, queue management, timers, and accept, while providing concrete code snippets and diagrams to help backend engineers master the underlying mechanics.
Linux kernelNetworkingSockets
0 likes · 18 min read

This article explains socket fundamentals and walks through creating a simple UDP‑based chatroom in Python, covering basic socket creation, common methods, a straightforward server‑client example, and an enhanced multi‑user implementation with full source code and execution details.
ChatroomPythonSockets
0 likes · 7 min read

This article explains the role of the transport layer in the OSI model, compares TCP and UDP protocols, describes socket types and their APIs, clarifies port number usage, and details multiplexing, demultiplexing, and UDP packet structure with checksum calculation.
MultiplexingPort NumbersSockets
0 likes · 20 min read

This article provides a comprehensive introduction to the transport layer of computer networks, explaining the roles of TCP and UDP, socket APIs, port numbers, multiplexing, packet structures, connection management, three‑way handshake, four‑way termination, and congestion‑control mechanisms.
NetworkingPort NumbersSockets
0 likes · 49 min read

This article provides a comprehensive overview of the transport layer in the TCP/IP model, explaining the roles of TCP and UDP protocols, socket APIs, port numbers, multiplexing, and how data is encapsulated and transmitted between end systems.
NetworkingPort NumbersSockets
0 likes · 21 min read

This article walks through the complete lifecycle of a network request, explaining URL structure, HTTP methods and headers, DNS query mechanics, socket programming, TCP/IP communication, firewall filtering, and various load‑balancing strategies in clear, step‑by‑step detail.
DNSHTTPNetworking
0 likes · 37 min read

This article introduces several Linux interprocess communication mechanisms—including pipes, message queues, shared memory, semaphores, signals, and sockets—explaining their principles, advantages, drawbacks, and typical usage scenarios for developers preparing for system‑level programming or interviews.
IPCLinuxShared Memory
0 likes · 7 min read

This article demystifies socket communication by illustrating the end‑to‑end process of TCP/UDP message exchange, detailing how client and server serialize objects, interact with kernel read/write buffers, handle blocking, acknowledgments, packet headers, and flow control, and why understanding these low‑level mechanisms is crucial for reliable network programming.
NIOSocketsTCP
0 likes · 9 min read


21CTOMay 3, 2017 · Backend Development
A poetic tale follows a programmer’s evolution from using shared memory for secret messages to mastering sockets, TCP handshakes, firewalls, and HTTP‑based web services, illustrating core networking concepts through a heartfelt metaphor.
HTTPSocketsTCP
0 likes · 9 min read

This article provides a comprehensive overview of HTTP, TCP, UDP, and socket communication, explaining protocol layers, request/response structures, key headers, and the differences between GET and POST methods for web development.
HTTPSocketsTCP
0 likes · 10 min read


ITPUBDec 29, 2015 · Backend Development
This tutorial walks you through creating a simple iterative Python web server, demonstrates its single‑request limitation, explains socket fundamentals, and then shows how to transform it into a concurrent server using the Unix fork() system call while handling backlog, duplicate descriptors, and zombie processes.
Socketsfile-descriptorsfork
0 likes · 18 min read
