aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tcp_echo
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.
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.
2017-01-31Depend on Ranch master in examples1.3.1Michael Klishin
Otherwise they are pinned to 1.2.1. Per discussion with @essen.
2016-11-24Don't include observer in example releaseLoïc Hoguin
2016-11-24Update copyright yearLoïc Hoguin
2016-11-15Remove examples .app.src filesLoïc Hoguin
2016-11-15Properly handle Ctrl+D in examplesLoïc Hoguin
2015-03-06Fix examples READMELoïc Hoguin
2014-08-01Update examples Makefile1.0.0Loïc Hoguin
2013-12-07Examples must follow masterLoïc Hoguin
2013-12-07Fix small issues and style of the examplesLoïc Hoguin
2013-12-05Update tcp_echo example to use erlang.mkjosh rotenberg
2013-04-01Remove ranch_listener and replace ListenerPid by RefLoïc Hoguin
We just don't need this process anymore. Less, simpler code! API changes: * Protocols start_link first argument is now Ref instead of ListenerPid * ranch:accept_ack/1 argument is now Ref instead of ListenerPid * ranch_listener:remove_connection/1 becomes ranch:remove_connection/1 and its argument is now Ref instead of ListenerPid Ref is the name of the listener given as first argument to start_listener/6.
2012-08-07Add a TCP Echo protocol exampleLoïc Hoguin