浏览代码

dc: 文档说明

master
SisMaker 3 年前
父节点
当前提交
478a7db116
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. +6
    -5
      README.md

+ 6
- 5
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

正在加载...
取消
保存