socket xtd::net::sockets::socket::end_accept | ( | xtd::sptr< xtd::iasync_result > | async_result | ) |
Asynchronously accepts an incoming connection attempt and creates a new xtd::net::sockets::socket::socket to handle remote host communication.
async_result | An xtd::iasync_result that stores state information for this asynchronous operation as well as any user defined data. |
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. |