From 2df1c47c4bfc86bd65e013e4be377a4484b0a77d Mon Sep 17 00:00:00 2001 From: Artur Cygan Date: Sat, 2 Jun 2018 19:13:57 +0200 Subject: Fix typo in inet doc --- lib/kernel/doc/src/inet.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/kernel/doc/src') diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml index 9552332948..e6a7962c5a 100644 --- a/lib/kernel/doc/src/inet.xml +++ b/lib/kernel/doc/src/inet.xml @@ -1149,7 +1149,7 @@ setcap cap_sys_admin,cap_sys_ptrace,cap_dac_read_search+epi beam.smp gen_tcp:recv/2 gets {error, closed}. In active mode, the controlling process receives a - {tcp_close, Socket} message, indicating that the + {tcp_closed, Socket} message, indicating that the peer has closed the connection.

Setting this option to true allows you to distinguish between a connection that was closed normally, -- cgit v1.2.3