size_t xtd::net::sockets::socket::send | ( | const std::vector< xtd::byte > & | buffer, |
xtd::net::sockets::socket_flags | socket_flags | ||
) |
Sends data to a connected xtd::net::sockets::socket using the specified xtd::net::sockets::socket_flags.
buffer | An array of type byte that contains the data to be sent. |
socket_flags | A bitwise combination of the xtd::net::sockets::socket_flags values. |
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. |