From 46897b979056e7c0d00a676213bf98f2ae147168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 23 Sep 2014 17:16:07 +0300 Subject: Fix arity of Transport:recv in the guide Initially reported by "talentdeficit". --- guide/transports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guide') diff --git a/guide/transports.md b/guide/transports.md index aaf530f..5c26c51 100644 --- a/guide/transports.md +++ b/guide/transports.md @@ -57,7 +57,7 @@ Transport:send(Socket, ["Ranch", [<<"is">>, "cool!"]]). ``` You can receive data either in passive or in active mode. Passive mode -means that you will perform a blocking `Transport:recv/2` call, while +means that you will perform a blocking `Transport:recv/3` call, while active mode means that you will receive the data as a message. By default, all data will be received as binary. It is possible to -- cgit v1.2.3