From 478a7db11634e670d4e4edb3e70ae0b1d215fa25 Mon Sep 17 00:00:00 2001 From: SisMaker <1713699517@qq.com> Date: Wed, 12 Jan 2022 17:06:37 +0800 Subject: [PATCH] =?UTF-8?q?dc:=20=E6=96=87=E6=A1=A3=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ba94b1e..028a477 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # eNet - erlang网络库 + erlang's net library - {ok, Pid} = eNet:addTcpLr(test11, {{127,0,0, 1}, 9010}, echo_server, [{tcpOpts, [binary, {packet, 2}, {active, false}]}]). - - {ok, S} = gen_tcp:connect({127,0,0, 1}, 9007, [{binary, {packet, 2}}]). - {ok, S} = gen_tcp:connect({127,0,0, 1}, 9007, [binary]). +# Api + eNet:openTcp/3 + eNet:openSsl/3 + eNet:openUdp/3 + eNet:openPpt/3