System::Net::Sockets::Socket::EndReceive metod
Innehåll
[
Dölj
]Socket::EndReceive(System::SharedPtr<IAsyncResult>) method
Väntar tills den angivna asynkrona mottagningsoperationen slutförs.
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult)
| Parameter | Type | Beskrivning |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | Ett IAsyncResult‑objekt som representerar en asynkron mottagningsoperation. |
ReturnValue
Antalet byte som mottas.
Se även
- Typedef SharedPtr
- Class IAsyncResult
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
Socket::EndReceive(System::SharedPtr<IAsyncResult>, SocketError&) method
Väntar tills den angivna asynkrona mottagningsoperationen slutförs.
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
| Parameter | Type | Beskrivning |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | Ett IAsyncResult‑objekt som representerar en asynkron mottagningsoperation. |
| errorCode | SocketError& | Utdata‑parametern där felkoden kommer att tilldelas när mottagningsoperationen misslyckas. |
ReturnValue
Antalet mottagna byte.
Se även
- Typedef SharedPtr
- Class IAsyncResult
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++