Linux Network Programming: TCP and UDP Protocols

While we often use serial ports for information printing in embedded systems, this approach isn't suitable for multi-host network environments. This introduces the concept of network programming. In Linux, network programming involves using sockets for inter-process communication, particularly between processes on different hosts. Sockets provi ...

Posted on Sat, 23 May 2026 20:50:48 +0000 by guzman-el-bueno

Core Concepts of Java NIO: Components, ByteBuffer Mechanics, and Packet Fragmentation Handling

Java NIO Core ComponentsJava NIO (Non-blocking I/O) revolves around three fundamental components: Channel, Buffer, and Selector.Channel: A bidirectional conduit for data transfer that can simultaneously handle read and write operations, always operating in conjunction with a buffer.Buffer: An in-memory data block acting as a staging area. Data ...

Posted on Fri, 22 May 2026 16:32:42 +0000 by Infinitus 8

Frontend Developer Technical Interview Reference

HTML Fundamentals 1. Purpose of the DOCTYPE Declaration HTML operates as a markup language with formal syntax rules. DOCTYPE, short for Document Type, specifies which HTML or XHTML standard the browser should use to render a page. It must appear before the <html> tag, guiding the parser to interpret the document correctly. <!DOCTYPE ht ...

Posted on Wed, 20 May 2026 19:54:04 +0000 by designxperts

Extensible Serialization Algorithms and Network Parameter Configuration in Netty

Serialization Requirements A serialization algorithm must enable bidirectional conversion: Object → Byte Array → Object. During serialization, Java objects transform into transmissible data (byte[] or JSON), which ultimately converts to byte[]. Deserialization reverses this process, converting inbound data back to Java objects for processing. I ...

Posted on Tue, 19 May 2026 09:51:23 +0000 by iijb

Efficiently Managing TCP Stream Integrity in Netty via Custom Protocol Encapsulation

Application-layer messages often lack inherent boundaries when transmitted over lower protocols like TCP. While the transport layer guarantees reliability and order, it does not preserve application message structure, leading to two common phenomena: sticky packets and fragmented packets. Sticky Packet Scenarios Sticky packets occur when multip ...

Posted on Thu, 14 May 2026 22:20:20 +0000 by rilana

TCP Protocol Mechanics and Socket Programming Essentials

OSI Model and EncapsulationData transmission across the ISO OSI seven-layer model involves encapsulation. Each layer prepends a header to the payload, with the data link layer appending an additional trailer. Decapsulation reverses this process, stripping headers and trailers as data moves up the stack.Transmission Control Protocol (TCP) Mechan ...

Posted on Thu, 14 May 2026 14:57:19 +0000 by bladecatcher

Embedded Linux Network Programming: A Comprehensive Guide

Introduction This article covers the essential concepts and practical implementation of network programming in embedded Linux systems. The content focuses on socket programming, protocol fundamentals, and development techniques. Network Fundamentals 1.1 Network Layer Models Two primary layered models exist in networking: OSI Seven-Layer Mod ...

Posted on Mon, 11 May 2026 05:36:33 +0000 by aaronhall

Building TCP Connections in Java Using Sockets

Understanding Network SocketsNetwork applications communicate through endpoints known as sockets. A socket serves as an abstraction for a network connection, relying on the underlying TCP/IP protocols managed by the operating system to route data. Programming languages like Java supply classes such as ServerSocket and Socket to wrap these nativ ...

Posted on Sun, 10 May 2026 21:32:25 +0000 by gushy

Understanding TCP Communication in Java with Socket Programming

TCP (Transmission Control Protocol) is a fundamental protocol that enables reliable communication between two computers over a network. In Java's standard library, two key classes facilitate TCP-based communication: the ServerSocket class for server-side operations and the Socket class for client-side operations. The ServerSocket class binds to ...

Posted on Sun, 10 May 2026 13:35:38 +0000 by parth

Building a Netty-Based Data Forwarding Service in Spring Boot

Environment: Windows 10, JDK 17, Spring Boot 3 Introduction to Netty Nety is an asynchronous, event-driven network application framework for Java that simplifies the development of high-performance, reliible network servers and clients. It supports multiple protocols including TCP, UDP, and HTTP, and abstracts low-level networking complexities ...

Posted on Sun, 10 May 2026 00:41:50 +0000 by gregor63