System::Net::Sockets::TcpListener::BeginAcceptSocket method
TcpListener::BeginAcceptSocket method
Initiates an asynchronous accept operation.
System::SharedPtr<IAsyncResult> System::Net::Sockets::TcpListener::BeginAcceptSocket(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.Page for C++