System::Net::Sockets::Socket::EndReceive metodo
Contenuti
[
Nascondere
]Socket::EndReceive(System::SharedPtr<IAsyncResult>) method
Attende fino al completamento dell’operazione di ricezione asincrona specificata.
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult)
| Parametro | Tipo | Descrizione |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | Un oggetto IAsyncResult che rappresenta un’operazione di ricezione asincrona. |
ReturnValue
Il numero di byte che vengono ricevuti.
Vedi anche
- Typedef SharedPtr
- Class IAsyncResult
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
Socket::EndReceive(System::SharedPtr<IAsyncResult>, SocketError&) method
Attende fino al completamento dell’operazione di ricezione asincrona specificata.
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
| Parametro | Tipo | Descrizione |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | Un oggetto IAsyncResult che rappresenta un’operazione di ricezione asincrona. |
| errorCode | SocketError& | Il parametro di output in cui verrà assegnato il codice di errore quando l’operazione di ricezione fallisce. |
ReturnValue
Il numero di byte ricevuti.
Vedi anche
- Typedef SharedPtr
- Class IAsyncResult
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++