diff options
Diffstat (limited to 'src/ranch_tcp.erl')
-rw-r--r-- | src/ranch_tcp.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ranch_tcp.erl b/src/ranch_tcp.erl index 087cf09..86b1e35 100644 --- a/src/ranch_tcp.erl +++ b/src/ranch_tcp.erl @@ -24,6 +24,7 @@ -export([messages/0]). -export([listen/1]). -export([accept/2]). +-export([accept_ack/2]). -export([connect/3]). -export([recv/3]). -export([send/2]). @@ -89,6 +90,10 @@ listen(Opts) -> accept(LSocket, Timeout) -> gen_tcp:accept(LSocket, Timeout). +-spec accept_ack(inet:socket(), timeout()) -> ok. +accept_ack(_, _) -> + ok. + %% @private Experimental. Open a connection to the given host and port number. %% @see gen_tcp:connect/3 %% @todo Probably filter Opts? |