xtd
0.2.0
Loading...
Searching...
No Matches
◆
close()
void xtd::net::sockets::udp_client::close
(
)
Closes the UDP connection.
Exceptions
xtd::net::sockets::socket_exception
An error occurred when attempting to access the underlying socket.
Remarks
The
xtd::net::sockets::udp_client::close
disables the underlying
xtd::net::sockets::socket
and releases all managed and unmanaged resources associated with the
xtd::net::sockets::udp_client
.
Note
If you receive a
xtd::net::sockets::socket_exception
, use the
xtd::net::sockets::socket_exception::error_code
property to obtain the specific error code. After you have obtained this code, refer to the Windows Sockets version 2 API error code documentation in the MSDN library for a detailed description of the error.
xtd
net
sockets
udp_client
Generated on Sat Sep 14 2024 21:25:31 for xtd by
Gammasoft
. All rights reserved.