System::Net::Sockets::Socket::EndReceive metod
Innehåll
[
Dölj
]Socket::EndReceive(System::SharedPtr<IAsyncResult>) method
Väntar tills den angivna asynkrona mottagningsoperationen är klar.
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult)
| Parameter | Typ | Beskrivning |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | Ett IAsyncResult‑objekt som representerar en asynkron mottagningsoperation. |
ReturnValue
Antalet byte som tas emot.
Se även
- Typedef SharedPtr
- Class IAsyncResult
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PDF for C++
Socket::EndReceive(System::SharedPtr<IAsyncResult>, SocketError&) method
Väntar tills den angivna asynkrona mottagningsoperationen är klar.
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
| Parameter | Typ | Beskrivning |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | Ett IAsyncResult‑objekt som representerar en asynkron mottagningsoperation. |
| errorCode | SocketError& | Den utdataparameter 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.PDF for C++