Fundamental 基础的
Echo ‐ the very basic client and server 非常基本的客户机和服务器
Discard ‐ see how to send an infinite data stream asynchronously without flooding the write buffer 了解如何去异步的发送一个无限数据流,并且不会溢出
Uptime ‐ implement automatic reconnection mechanism 实现自动重连机制
-------------------------------------------------------------------------------------------------------------
Text protocols 文本协议
Telnet ‐ a classic line-based network application 远程登录-一个典型的线性网络应用程序
Quote of the Moment ‐ broadcast a UDP/IP packet 引用时刻-发送一个UDP/IP数据包
SecureChat ‐ an TLS-based chat server, derived from the Telnet example 安全通信-基于TLS的聊天服务器,来自例子Telnet
-------------------------------------------------------------------------------------------------------------
Binary protocols 二进制协议
ObjectEcho ‐ exchange serializable Java objects 传递对象-交换序列化的java对象
Factorial ‐ write a stateful client and server with a custom binary protocol 阶乘-用自定义二进制协议编写有状态的客户端和服务器
WorldClock ‐ rapid protocol protyping with Google Protocol Buffers integration
-------------------------------------------------------------------------------------------------------------
HTTP 超文本传输协议
Snoop ‐ build your own extremely light-weight HTTP client and server 监听-构建自己的轻量级HTTP客户端和服务器
File server ‐ asynchronous large file streaming in HTTP 文件服务-HTTP中异步大文件流
Web Sockets (Client & Server) ‐ add a two-way full-duplex communication channel to HTTP using Web Sockets 使用Web套接字向HTTP添加双向全双工通信通道
SPDY (Client & Server) ‐ implement SPDY protocol SPDY协议的实现
CORS demo ‐ implement cross-origin resource sharing 实施跨源资源共享
-------------------------------------------------------------------------------------------------------------
Advanced 先进的
Proxy server ‐ write a highly efficient tunneling proxy server 代理服务器——一个高效的隧道代理服务器
Port unification ‐ run services with different protocols on a single TCP/IP port 统一端口-在单一TCP/IP端口上运行具有不同协议的服务
-------------------------------------------------------------------------------------------------------------
UDT (UDP 是User Datagram Protocol的简称, 中文名是用户数据报协议。基于UDP的数据传输协议(UDP-based Data Transfer Protocol,简称UDT)是一种互联网数据传输协议。支持高速广域网上的海量数据传输)
Byte streams ‐ use UDT in TCP-like byte streaming mode 在TCP的字节流模式下使用UDT
Message flow ‐ use UDT in UDP-like message delivery mode 在UDP消息传递模式下使用UDT
Byte streams in symmetric peer-to-peer rendezvous connect mode 对称对等汇聚连接方式下的字节流
Message flow in symmetric peer-to-peer rendezvous connect mode 对称对等汇聚连接方式中的消息流
Echo ‐ the very basic client and server 非常基本的客户机和服务器
Discard ‐ see how to send an infinite data stream asynchronously without flooding the write buffer 了解如何去异步的发送一个无限数据流,并且不会溢出
Uptime ‐ implement automatic reconnection mechanism 实现自动重连机制
-------------------------------------------------------------------------------------------------------------
Text protocols 文本协议
Telnet ‐ a classic line-based network application 远程登录-一个典型的线性网络应用程序
Quote of the Moment ‐ broadcast a UDP/IP packet 引用时刻-发送一个UDP/IP数据包
SecureChat ‐ an TLS-based chat server, derived from the Telnet example 安全通信-基于TLS的聊天服务器,来自例子Telnet
-------------------------------------------------------------------------------------------------------------
Binary protocols 二进制协议
ObjectEcho ‐ exchange serializable Java objects 传递对象-交换序列化的java对象
Factorial ‐ write a stateful client and server with a custom binary protocol 阶乘-用自定义二进制协议编写有状态的客户端和服务器
WorldClock ‐ rapid protocol protyping with Google Protocol Buffers integration
-------------------------------------------------------------------------------------------------------------
HTTP 超文本传输协议
Snoop ‐ build your own extremely light-weight HTTP client and server 监听-构建自己的轻量级HTTP客户端和服务器
File server ‐ asynchronous large file streaming in HTTP 文件服务-HTTP中异步大文件流
Web Sockets (Client & Server) ‐ add a two-way full-duplex communication channel to HTTP using Web Sockets 使用Web套接字向HTTP添加双向全双工通信通道
SPDY (Client & Server) ‐ implement SPDY protocol SPDY协议的实现
CORS demo ‐ implement cross-origin resource sharing 实施跨源资源共享
-------------------------------------------------------------------------------------------------------------
Advanced 先进的
Proxy server ‐ write a highly efficient tunneling proxy server 代理服务器——一个高效的隧道代理服务器
Port unification ‐ run services with different protocols on a single TCP/IP port 统一端口-在单一TCP/IP端口上运行具有不同协议的服务
-------------------------------------------------------------------------------------------------------------
UDT (UDP 是User Datagram Protocol的简称, 中文名是用户数据报协议。基于UDP的数据传输协议(UDP-based Data Transfer Protocol,简称UDT)是一种互联网数据传输协议。支持高速广域网上的海量数据传输)
Byte streams ‐ use UDT in TCP-like byte streaming mode 在TCP的字节流模式下使用UDT
Message flow ‐ use UDT in UDP-like message delivery mode 在UDP消息传递模式下使用UDT
Byte streams in symmetric peer-to-peer rendezvous connect mode 对称对等汇聚连接方式下的字节流
Message flow in symmetric peer-to-peer rendezvous connect mode 对称对等汇聚连接方式中的消息流