Software Development Architectures, OSI Seven-Layer Model, and Socket Programming
Software Development Architectures
When building software applications, developers must create both client and server components.
Server: Provides continuous, around-the-clock services
Client: Initiates requests to locate and consume services
Two primary architectural patterns exist:
C/S Architecture (Client/Server)
Examples: Desktop QQ appli ...
Posted on Fri, 23 Oct 2026 16:24:37 +0000 by wellscam
Comparing I/O Multiplexing Techniques: select, poll, and epoll
Function Prototypes
select
#include <sys/select.h>
int select(int max_fds, fd_set *read_set, fd_set *write_set,
fd_set *except_set, struct timeval *timeout);
poll
#include <poll.h>
int poll(struct pollfd *fds, nfds_t nfds, int timeout);
epoll
#include <sys/epoll.h>
int epoll_create(int size);
int epoll_ctl(int ep ...
Posted on Sun, 04 Oct 2026 16:20:38 +0000 by ALEXKENT18
Building HTTP Servers with Netty 4
Netty provides a robust foundation for implementing custom HTTP servers without relying on traditional web frameworks like Spring MVC or Jakarta Servlet. Its channnel-based architecture allows fine-grained control over request parsing, response generation, and protocol handling.
Core Pipeline Configuration
To enable HTTP support, the server pip ...
Posted on Sat, 12 Sep 2026 16:19:04 +0000 by salmanshafiq
Capturing Qt Network Requests with Fiddler Proxy
When working with Qt's network library in production projects, developers may encounter certain limitations and edge cases. This article documents a common issue where Fiddler cannot capture network requests initiated by Qt applications, along with the solution.
The Problem
During the testing phase, QA engineers reported that Fiddler was unable ...
Posted on Mon, 07 Sep 2026 16:51:20 +0000 by ThoughtRiot
Implementing FTP Operations with Apache Commons Net in Java
Apache Commons Net FTPClient Dependency
Apache Commons Net provides a comprehensive FTP client implementation for Java applications through its FTPClient class. This library enables developers to perform various file transfer operations with FTP servers.
Maven Configuration
Add the following dependency to your project's pom.xml file:
<depend ...
Posted on Tue, 21 Jul 2026 17:16:51 +0000 by pup200
Implementing Network Communication in Qt with TCP and UDP
TCP Communication in Qt
TCP Programming Charatceristics
Requires both server and client components
Add QT += network to project file
Key classses: QTcpServer and QTcpSocket
TCP Server Implementation
Project Configuration
QT += core gui network
UI Components
Read-only receive text area
Port number input field
Message input field
Action butto ...
Posted on Fri, 10 Jul 2026 16:59:41 +0000 by Floydian
Implementing UDP Broadcasting in C with epoll
UDP Broadcasting Implementation in C
The follownig example demonstraets how to create a UDP broadcast cliant in C using epoll for efficient I/O multiplexing. This client broadcasts messages to a specified network address and port, then listens for server responses.
Code Implementation
#include <sys/socket.h>
#include <netinet/in.h> ...
Posted on Mon, 01 Jun 2026 16:58:26 +0000 by morph07
iOS Device System Utilities: Network, Memory, and Battery Information
This article demonstrates an implementation of core system utility functions for iOS devices, providing capabilities to retrieve device information, network addresses, memory statistics, and battery status.
System Information Header
//
// DeviceSystem.h
// PhoneManager
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
...
Posted on Sun, 31 May 2026 17:51:49 +0000 by nepeaNMedia
TCP Socket Communication in C#: Server and Client Data Exchange
Implementing bidirectional data exchange over TCP in C# requires coordinating a listener that binds to a network interface and a client that initiates the connection. The .NET framework provides TcpListener and TcpClient to abstract low-level socket operations, while NetworkStream manages the underlying byte transmission pipeline.
Server-Side I ...
Posted on Fri, 29 May 2026 22:33:52 +0000 by tinuviel
Building a Robust Modbus TCP Client in C#
Modbus TCP is a widely adopted industrial communication protocol that operates over standard Ethernet networks. Unlike its serial counterpart (Modbus RTU), it leverages TCP/IP for transport, eliminating the need for checksums while introducing new considerations around connection management, byte ordering, and message framing.
Core Architecture ...
Posted on Mon, 25 May 2026 23:40:12 +0000 by velkymx