|
há 3 anos | |
---|---|---|
include | há 3 anos | |
src | há 3 anos | |
.gitignore | há 5 anos | |
LICENSE | há 3 anos | |
README.md | há 4 anos | |
rebar.config | há 3 anos |
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]).