diff options
author | Micael Karlberg <[email protected]> | 2019-04-30 15:06:15 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-05-29 18:40:57 +0200 |
commit | 043cb47a1967a63b316c7bd4cb4232f2e9b0f895 (patch) | |
tree | 4fb2830204ca02bde9fa54a8a47908ccd606db37 /erts/preloaded/src | |
parent | 2d6f0763ddf80614d792cad96df38d0698eeb037 (diff) | |
download | otp-043cb47a1967a63b316c7bd4cb4232f2e9b0f895.tar.gz otp-043cb47a1967a63b316c7bd4cb4232f2e9b0f895.tar.bz2 otp-043cb47a1967a63b316c7bd4cb4232f2e9b0f895.zip |
[esock|doc] Add text about the abort message
If another process closes the socket, the caller will
receive an abort message instead (of the select message).
OTP-15731
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r-- | erts/preloaded/src/socket.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/socket.erl b/erts/preloaded/src/socket.erl index 59bef4b3b7..ec63eeba64 100644 --- a/erts/preloaded/src/socket.erl +++ b/erts/preloaded/src/socket.erl @@ -1794,7 +1794,7 @@ recv(Socket, Length) -> Flags :: recv_flags(), Data :: binary(), Reason :: term() - ; (Socket, Length, nowait) -> {ok, Data} | + ; (Socket, Length, Timeout :: nowait) -> {ok, Data} | {ok, SelectInfo} | {ok, {Data, SelectInfo}} | {error, Reason} when |