Skip to content

Commit

Permalink
Merge pull request nodejscn#696 from xuehuaihuan/patch-7
Browse files Browse the repository at this point in the history
Update event_end.md
  • Loading branch information
h7lin authored Jan 26, 2020
2 parents 0b10d31 + a9ad133 commit 1adba6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/event_end.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ added: v0.1.90

默认情况下(`allowHalfOpen` `false`),socket 将发送一个 FIN 数据包,并且一旦写出它的等待写入队列就销毁它的文件描述符。
当然,如果 `allowHalfOpen`  `true`,socket 就不会自动结束 [`end()`][`socket.end()`] 它的写入端,允许用户写入任意数量的数据。
用户必须调用 [`end()`][`socket.end()`] 显示地结束这个连接(例如发送一个 FIN 数据包)。
用户必须调用 [`end()`][`socket.end()`] 显式地结束这个连接(例如发送一个 FIN 数据包)。

0 comments on commit 1adba6e

Please sign in to comment.