Tag

UDP

2 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
Jun 1, 2025 · Fundamentals

Understanding TCP and UDP Sockets and Port Usage

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.

Network PortsSocketsTCP
0 likes · 7 min read
Understanding TCP and UDP Sockets and Port Usage
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.

NetworkPythonSocket Programming
0 likes · 7 min read
Introduction to Socket Programming in Python: TCP and UDP Examples
Deepin Linux
Deepin Linux
Mar 1, 2025 · Backend Development

Comprehensive Guide to C++ Network Programming Interview Questions

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++ConcurrencyNetwork Programming
0 likes · 85 min read
Comprehensive Guide to C++ Network Programming Interview Questions
Raymond Ops
Raymond Ops
Feb 25, 2025 · Fundamentals

Understanding the OSI Model: A Layer‑by‑Layer Guide

This article provides a comprehensive overview of the OSI model, explaining the purpose of each of its seven layers, their responsibilities, typical devices and protocols involved, and how data moves from the physical medium up to the application level.

OSI modelRoutingTCP
0 likes · 17 min read
Understanding the OSI Model: A Layer‑by‑Layer Guide
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++LinuxNetwork Programming
0 likes · 35 min read
Understanding Linux Kernel Sockets: Concepts, Types, and API Functions
Python Programming Learning Circle
Python Programming Learning Circle
Dec 7, 2024 · Fundamentals

Implementing a Simple UDP Chatroom with Python Sockets

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.

Network ProgrammingSocketsUDP
0 likes · 8 min read
Implementing a Simple UDP Chatroom with Python Sockets
Practical DevOps Architecture
Practical DevOps Architecture
Nov 18, 2024 · Fundamentals

Second Season: Detailed TCP/IP Protocol Stack Course Outline

This article presents a comprehensive outline of a TCP/IP protocol stack course, covering Wireshark analysis basics, TCP/IP overview, Ethernet, ARP (including proxy, gratuitous, inverse, and reverse ARP), ICMP (ping, traceroute, various unreachable messages), UDP, DHCP (address request, renewal, release, conflict, relay), and related experimental validations.

ARPDHCPICMP
0 likes · 3 min read
Second Season: Detailed TCP/IP Protocol Stack Course Outline
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 28, 2024 · Fundamentals

Deep Dive into QUIC Protocol: Architecture, Features, and Optimization Strategies

The article thoroughly examines QUIC—the user‑space, UDP‑based transport underpinning HTTP/3—detailing its architecture, fast 0‑RTT handshakes, connection migration, stream‑level independence, congestion control, and flow‑control mechanisms, while also discussing implementation hurdles like 0‑RTT reliability, load‑balancer routing, UDP restrictions, CPU overhead, and real‑world performance gains reported by major Chinese tech firms.

0-RTT handshakeConnection MigrationHTTP/3
0 likes · 21 min read
Deep Dive into QUIC Protocol: Architecture, Features, and Optimization Strategies
macrozheng
macrozheng
Apr 11, 2024 · Fundamentals

Understanding TCP vs UDP: Differences, Port Numbers, and Practical Uses

This article explains the core characteristics of TCP and UDP, compares their reliability and connection models, clarifies the concept and range of port numbers, and demonstrates that both protocols can share the same port without conflict, illustrated with real‑world examples such as DNS.

Port NumbersTCPUDP
0 likes · 7 min read
Understanding TCP vs UDP: Differences, Port Numbers, and Practical Uses
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.

Connection PoolOSI modelSocket
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++LinuxNetwork Programming
0 likes · 45 min read
Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code
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
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.

Backend DevelopmentConnection PoolSocket
0 likes · 17 min read
Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools
Wukong Talks Architecture
Wukong Talks Architecture
Aug 31, 2023 · Fundamentals

Understanding DNS: Principles, Resolution Process, and Performance Optimization

This article explains the fundamentals of the Domain Name System (DNS), covering domain and name‑server concepts, the hierarchical resolution process, recursive and iterative queries, performance‑enhancing techniques such as UDP usage, caching, and switching to public DNS servers, and details DNS record types and packet structure.

CachingDNSDomain Name System
0 likes · 14 min read
Understanding DNS: Principles, Resolution Process, and Performance Optimization
Architect's Guide
Architect's Guide
Jun 19, 2023 · Backend Development

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

This article explains the OSI seven‑layer model, the mechanics of TCP three‑way handshakes and four‑way teardowns, differences between TCP and UDP, long‑ versus short‑lived socket connections, custom protocol design, and how to implement a socket connection pool using Node.js.

Backend DevelopmentConnection PoolSocket
0 likes · 17 min read
Understanding Network Protocols, TCP/UDP Handshakes, Socket Connections, and Socket Connection Pools
Architecture Digest
Architecture Digest
May 29, 2023 · Fundamentals

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

This article explains the OSI seven‑layer model, the principles and handshake processes of TCP and UDP, the differences between them, the concept of long‑living socket connections with heartbeats, custom application‑layer protocols, and how to implement a reusable socket connection pool in Node.js.

Connection PoolNode.jsSocket
0 likes · 16 min read
Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools
Architect
Architect
May 25, 2023 · Fundamentals

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

This article explains the OSI seven‑layer model, the differences between TCP and UDP, the three‑way handshake and four‑step termination processes, long‑living socket connections, heartbeat mechanisms, custom application‑layer protocols, and how to implement a socket connection pool using Node.js.

Backend DevelopmentConnection PoolSocket
0 likes · 17 min read
Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools
Top Architect
Top Architect
Mar 17, 2023 · Backend Development

Understanding TCP/UDP, Socket Connections, and Implementing a Socket Connection Pool in Node.js

This article explains the fundamentals of network protocols, the OSI seven‑layer model, TCP three‑handshake and four‑teardown processes, differences between TCP and UDP, socket long‑connections, custom protocol design, and how to implement a reusable socket connection pool in Node.js.

Connection PoolNode.jsSocket
0 likes · 14 min read
Understanding TCP/UDP, Socket Connections, and Implementing a Socket Connection Pool in Node.js
Architect's Guide
Architect's Guide
Mar 1, 2023 · Fundamentals

Understanding the OSI Model, TCP/IP Model, and TCP/UDP Protocols with Handshake and Teardown

This article explains the OSI seven‑layer model and the simplified four‑layer TCP/IP model, describes the TCP/IP protocol suite, details how data is encapsulated and transmitted, compares TCP and UDP, and walks through TCP’s three‑way handshake, four‑way termination, and related security considerations.

OSI modelTCPTCP/IP
0 likes · 18 min read
Understanding the OSI Model, TCP/IP Model, and TCP/UDP Protocols with Handshake and Teardown