From e4761f04a7502ccc19126bfec0f8958f72473340 Mon Sep 17 00:00:00 2001 From: lijie <1713699517@qq.com> Date: Tue, 30 May 2023 14:30:41 +0800 Subject: [PATCH] =?UTF-8?q?ft=EF=BC=9A=E6=B7=BB=E5=8A=A0tcp=E5=8F=91?= =?UTF-8?q?=E9=80=81=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/misc/ntCom.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/ntCom.erl b/src/misc/ntCom.erl index 312c3fb..3b8e151 100644 --- a/src/misc/ntCom.erl +++ b/src/misc/ntCom.erl @@ -158,7 +158,7 @@ asyncSend(S, Data, OptList) when is_port(S), is_list(OptList) -> false -> % Port busy when nosuspend option was passed {error, busy}; true -> - true + ok catch error: _ -> {error, einval} end.