size_t xtd::net::sockets::socket::send_to | ( | const std::vector< xtd::byte > & | buffer, |
xtd::net::sockets::socket_flags | socket_flags, | ||
const xtd::net::end_point & | remote_end_point | ||
) |
Sends data to a specific endpoint using the specified xtd::net::sockets::socket_flags.
socket_flags | A bitwise combination of the xtd::net::sockets::socket_flags values. |
buffer | An array of type byte that contains the data to be sent. |
remote_end_point | The xtd::net::end_point that represents the destination for the data. |
xtd::net::sockets::socket_exception | An error occurred when attempting to access the socket. |
xtd::object_closed_exception | The xtd::net::sockets::socket has been closed. |