System::Net::Sockets::TcpListener::BeginAcceptTcpClient method
TcpListener::BeginAcceptTcpClient method
Initiates an asynchronous accept operation.
System::SharedPtr<IAsyncResult> System::Net::Sockets::TcpListener::BeginAcceptTcpClient(AsyncCallback callback, System::SharedPtr<Object> state)
Parameter | Type | Description |
---|---|---|
callback | AsyncCallback | A callback that will be called when the operation completes. |
state | System::SharedPtr<Object> | User-provided data used to uniquely identify each asynchronous connect operation. |
ReturnValue
An IAsyncResult object representing the initiated asynchronous accept operation.
See Also
- Typedef SharedPtr
- Class IAsyncResult
- Typedef AsyncCallback
- Class Object
- Class TcpListener
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++