diff --git a/docs/notes/Java IO.md b/docs/notes/Java IO.md index a92534f8..2cec5b5e 100644 --- a/docs/notes/Java IO.md +++ b/docs/notes/Java IO.md @@ -278,7 +278,7 @@ public static void main(String[] args) throws IOException { - Socket:客户端类 - 服务器和客户端通过 InputStream 和 OutputStream 进行输入输出。 -

+

## Datagram @@ -414,7 +414,7 @@ NIO 实现了 IO 多路复用中的 Reactor 模型,一个线程 Thread 使用 应该注意的是,只有套接字 Channel 才能配置为非阻塞,而 FileChannel 不能,为 FileChannel 配置非阻塞也没有意义。 -

+

### 1. 创建选择器 diff --git a/docs/notes/pics/8fdbb8f5-2cf8-41dc-b5f1-99d98abb52d9.jpg b/docs/notes/pics/8fdbb8f5-2cf8-41dc-b5f1-99d98abb52d9.jpg new file mode 100644 index 00000000..a9e33df4 Binary files /dev/null and b/docs/notes/pics/8fdbb8f5-2cf8-41dc-b5f1-99d98abb52d9.jpg differ diff --git a/docs/notes/pics/f77f06b6-7359-4066-b85d-3f6c09ddf425.jpg b/docs/notes/pics/f77f06b6-7359-4066-b85d-3f6c09ddf425.jpg new file mode 100644 index 00000000..9fc2a271 Binary files /dev/null and b/docs/notes/pics/f77f06b6-7359-4066-b85d-3f6c09ddf425.jpg differ diff --git a/docs/pics/8fdbb8f5-2cf8-41dc-b5f1-99d98abb52d9.jpg b/docs/pics/8fdbb8f5-2cf8-41dc-b5f1-99d98abb52d9.jpg new file mode 100644 index 00000000..a9e33df4 Binary files /dev/null and b/docs/pics/8fdbb8f5-2cf8-41dc-b5f1-99d98abb52d9.jpg differ diff --git a/docs/pics/f77f06b6-7359-4066-b85d-3f6c09ddf425.jpg b/docs/pics/f77f06b6-7359-4066-b85d-3f6c09ddf425.jpg new file mode 100644 index 00000000..9fc2a271 Binary files /dev/null and b/docs/pics/f77f06b6-7359-4066-b85d-3f6c09ddf425.jpg differ