void xtd::net::sockets::tcp_client::connect | ( | const xtd::net::ip_end_point & | remote_end_point | ) |
Connects the client to a remote TCP host using the specified remote network endpoint.
remote_end_point | The xtd::net::ip_end_point to which you intend to connect. |
xtd::net::sockets::socket_exception | An error occurred when accessing the socket. |
xtd::object_closed_exception | The xtd::net::sockets::socket has been closed. |