System::Net::Sockets::Socket::EndSend method
Contents
[
Hide
]Socket::EndSend(System::SharedPtr<IAsyncResult>) method
Waits until the specified asynchronous send operation completes.
int32_t System::Net::Sockets::Socket::EndSend(System::SharedPtr<IAsyncResult> asyncResult)
Parameter | Type | Description |
---|---|---|
asyncResult | System::SharedPtr<IAsyncResult> | An IAsyncResult object that represents an asynchronous send operation. |
ReturnValue
The number of sent bytes.
See Also
- Typedef SharedPtr
- Class IAsyncResult
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
Socket::EndSend(System::SharedPtr<IAsyncResult>, SocketError&) method
Waits until the specified asynchronous send operation completes.
int32_t System::Net::Sockets::Socket::EndSend(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
Parameter | Type | Description |
---|---|---|
asyncResult | System::SharedPtr<IAsyncResult> | An IAsyncResult object that represents an asynchronous send operation. |
errorCode | SocketError& | The output parameter where the error code will be assigned when the send operation fails. |
ReturnValue
The number of sent bytes.
See Also
- Typedef SharedPtr
- Class IAsyncResult
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++