ESP-IDF
ot::Ip6::Udp::Connect()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Ip6::Udp::Connect()
ot::Ip6::Udp::Connect() method
Connects a UDP socket.
Syntax
Show:
Summary
Declaration
Definition
from
udp6.hpp:504
Error
Connect
(
SocketHandle
&
aSocket
,
const
SockAddr
&
aSockAddr
)
;
Implemented in
udp6.cpp:275
Arguments
Argument
Description
aSocket
A reference to the socket.
aSockAddr
A reference to the socket address.
Return value
kErrorNone Successfully connected the socket. kErrorFailed Failed to connect UDP Socket.
Related Functions
Found 9 other functions taking a
SocketHandle
argument:
Function
Description
ot::Ip6::Udp::Bind()
Binds a UDP socket.
ot::Ip6::Udp::RemoveSocket()
ot::Ip6::Udp::IsOpen() const
Returns if a UDP socket is open.
ot::Ip6::Udp::AddSocket()
ot::Ip6::Udp::SetBackboneSocket()
ot::Ip6::Udp::IsBackboneSocket() const
ot::Ip6::Udp::Open()
Opens a UDP socket.
ot::Ip6::Udp::Close()
Closes the UDP socket.
ot::Ip6::Udp::SendTo()
Sends a UDP message using a socket.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out