BeginAcceptTcpClient()

TcpListener::BeginAcceptTcpClient(AsyncCallback, System::SharedPtr<Object>) method

Initiates an asynchronous accept operation.

System::SharedPtr<IAsyncResult> System::Net::Sockets::TcpListener::BeginAcceptTcpClient(AsyncCallback callback, System::SharedPtr<Object> state)

Arguments

ParameterTypeDescription
callbackAsyncCallbackA callback that will be called when the operation completes.
stateSystem::SharedPtr<Object>User-provided data used to uniquely identify each asynchronous connect operation.

Return Value

An IAsyncResult object representing the initiated asynchronous accept operation.

See Also