BeginAcceptSocket()
TcpListener::BeginAcceptSocket(AsyncCallback, System::SharedPtr<Object>) method
Initiates an asynchronous accept operation.
System::SharedPtr<IAsyncResult> System::Net::Sockets::TcpListener::BeginAcceptSocket(AsyncCallback callback, System::SharedPtr<Object> state)
Arguments
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. |
Return Value
An IAsyncResult object representing the initiated asynchronous accept operation.
See Also
- Typedef SharedPtr
- Typedef AsyncCallback
- Class IAsyncResult
- Class Object
- Class TcpListener
- Namespace System::Net::Sockets
- Library Aspose.Slides