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