EndAcceptSocket()

TcpListener::EndAcceptSocket(System::SharedPtr<IAsyncResult>) method

Waits until the specified asynchronous accept operation completes.

System::SharedPtr<Socket> System::Net::Sockets::TcpListener::EndAcceptSocket(System::SharedPtr<IAsyncResult> asyncResult)

Arguments

ParameterTypeDescription
asyncResultSystem::SharedPtr<IAsyncResult>An IAsyncResult object that represents an asynchronous accept operation.

See Also