size_t xtd::net::sockets::socket::end_receive_from | ( | xtd::sptr< xtd::iasync_result > | async_result, |
xtd::sptr< xtd::net::end_point > & | end_point | ||
) |
Ends a pending asynchronous read from a specific endpoint.
async_result | An xtd::iasync_result that stores state information for this asynchronous operation as well as any user defined data. |
end_point | The source xtd::net::end_point. |
argument_exception | asyncResult was not returned by a call to the xtd::net::sockets::socket::begin_receive_from method. |
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. |