io.netty 和 jboss.netty的区别?


Netty
依赖如下
<dependency>
<groupId>io.nettygroupId>
<artifactId>netty-allartifactId>
<version>4.1.79.Finalversion>
dependency>
引入依赖截图

Wiki 网址

用户指南
API参考
源代码
新的和值得注意的
4.1示例

Netty 的官方示例都放在example目录下,直接复制到自己的项目下。

Fundamental
Echo

Discard

Uptime

Text protocols
Telnet

Quote of the Moment

SecureChat

Binary protocols
ObjectEcho

Factorial

WorldClock

HTTP
Snoop

File server

Web Sockets (Client & Server)

SPDY (Client & Server)

CORS demo

Advanced
Proxy server

Port unification

UDT
Byte streams ‐ use UDT in TCP-like byte streaming mode

Message flow ‐ use UDT in UDP-like message delivery mode

Byte streams in symmetric peer-to-peer rendezvous connect mode

Message flow in symmetric peer-to-peer rendezvous connect mode
