void xtd::net::sockets::udp_client::connect | ( | const xtd::net::ip_end_point & | end_point | ) |
Establishes a default remote host using the specified network endpoint.
end_point | An xtd::net::ip_end_point that specifies the network endpoint to which you intend to send data |
xtd::net::sockets::socket_exception | An error occurred when attempting to access the underlying socket. |
xtd::object_closed_exception | The underlying xtd::net::sockets::socket has been closed. |