aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tcp_reverse/src
AgeCommit message (Collapse)Author
2018-07-02Introduce Transport:handshake/1,2j.uhlig
This commit deprecates Transport:accept_ack/1 in favor of a new forward-compatible function. Transport:handshake/1,2 will use ssl:handshake/2,3 from Ranch 2.0 onward.
2018-05-07Replace gen_server with gen_statem in examplesj.uhlig
2017-05-31Deprecated ranch:start_listener/6 and child_spec/6Loïc Hoguin
The NumAcceptors argument has been moved to transport option num_acceptor, which defaults to 10. The functions now take one less argument. The old functions are still here, though deprecated.
2016-11-15Remove examples .app.src filesLoïc Hoguin
2016-11-15Properly handle Ctrl+D in examplesLoïc Hoguin
2016-11-15Remove bad advice for gen_server protocolsLoïc Hoguin
Also improves the good example a little by using spawn_link instead of start_link.
2013-12-07Fix small issues and style of the examplesLoïc Hoguin
2013-12-04Add example using gen_serverjosh rotenberg