|
hace 3 años | |
---|---|---|
include | hace 3 años | |
priv | hace 3 años | |
src | hace 3 años | |
.gitignore | hace 5 años | |
LICENSE | hace 3 años | |
README.md | hace 4 años | |
rebar.config | hace 3 años |
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]).