Chapter 2 - Basics
In Chapter 1, we had a brief glimpse of Apache MINA. In this chapter we shall have a look at Client/Server Architecture and details on working out a MINA based Server and Client.
We will also expose some very simple Servers and Clients, based on TCP and UDP.
- Application Architecture
- Sample TCP Server
- Sample TCP Client
- Sample UDP Server
- Sample UDP Client
- Summary
在第一章我們介紹了一下mina。這章我們來了解基本mina的服務端和客戶是如何工作的。
我們將簡單介紹一下服務端和客戶端基於tcp和udp的使用
應用架構
服務端架構
客戶端架構
簡單的tcp服務器
簡單的tcp客戶端
簡單的udp服務器
簡單的udp客戶端
概要