erlang网络库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
SisMaker 7b4403f6c4 重命令 4 years ago
include 重命令 4 years ago
src 重命令 4 years ago
.gitignore 初始化 5 years ago
LICENSE Initial commit 5 years ago
README.md 重命令 4 years ago
rebar.config 重命令 4 years ago

README.md

eNet

erlang网络库

{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]).