aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tcp_reverse/src/tcp_reverse.erl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tcp_reverse/src/tcp_reverse.erl')
-rw-r--r--examples/tcp_reverse/src/tcp_reverse.erl13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/tcp_reverse/src/tcp_reverse.erl b/examples/tcp_reverse/src/tcp_reverse.erl
new file mode 100644
index 0000000..e20f170
--- /dev/null
+++ b/examples/tcp_reverse/src/tcp_reverse.erl
@@ -0,0 +1,13 @@
+%% Feel free to use, reuse and abuse the code in this file.
+
+-module(tcp_reverse).
+
+%% API.
+-export([start/0]).
+
+%% API.
+
+start() ->
+ io:format("starting ranch and tcp_reverse~n"),
+ ok = application:start(ranch),
+ ok = application:start(tcp_reverse).