boost::corosio::native_udp_socket::connect
Asynchronously connect to set the default peer.
Synopsis
auto
connect(endpoint ep);
Description
Calls the backend implementation directly, bypassing virtual dispatch. Otherwise identical to udp_socket::connect.
If the socket is not already open, it is opened automatically using the address family of ep.
Exceptions
Name |
Thrown on |
|
if the socket needs to be opened and the open fails. |
Parameters
Name |
Description |
ep |
The remote endpoint to connect to. |
Created with MrDocs