BIO:
ServerSocket负责监听端口
Socket负责连接
NIO:
ServerSocketChannel
SocketChannel
AIO:
AsynchronousServerSocketChannel
AsynchronousSocketChannel
BIO:
ServerSocket负责监听端口
Socket负责连接
NIO:
ServerSocketChannel
SocketChannel
AIO:
AsynchronousServerSocketChannel
AsynchronousSocketChannel