diff options
Diffstat (limited to 'lib/kernel/src/inet6_sctp.erl')
-rw-r--r-- | lib/kernel/src/inet6_sctp.erl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/kernel/src/inet6_sctp.erl b/lib/kernel/src/inet6_sctp.erl index 0e04088736..6e3d2ad26e 100644 --- a/lib/kernel/src/inet6_sctp.erl +++ b/lib/kernel/src/inet6_sctp.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2007-2021. All Rights Reserved. +%% Copyright Ericsson AB 2007-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -31,7 +31,7 @@ -include("inet_int.hrl"). -export([getserv/1, getaddr/1, getaddr/2, translate_ip/1]). --export([open/1, close/1, listen/2, peeloff/2, connect/4, connect/5]). +-export([open/1, close/1, listen/2, peeloff/2, connect/4, connect/5, connectx/3, connectx/4]). -export([sendmsg/3, send/4, recv/2]). -define(PROTO, sctp). @@ -81,6 +81,12 @@ connect(S, SockAddr, Opts, Timer) -> connect(S, Addr, Port, Opts, Timer) -> inet_sctp:connect(S, Addr, Port, Opts, Timer). +connectx(S, SockAddrs, Opts) -> + inet_sctp:connectx(S, SockAddrs, Opts). + +connectx(S, Addr, Port, Opts) -> + inet_sctp:connectx(S, Addr, Port, Opts). + sendmsg(S, SRI, Data) -> prim_inet:sendmsg(S, SRI, Data). |