Metode System::Net::Sockets::Socket::EndReceive
isi
[
bersembunyi
]Socket::EndReceive(System::SharedPtr<IAsyncResult>) method
Menunggu hingga operasi penerimaan asinkron yang ditentukan selesai.
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | Sebuah objek IAsyncResult yang mewakili operasi penerimaan asinkron. |
ReturnValue
Jumlah byte yang diterima.
Lihat Juga
- Typedef SharedPtr
- Class IAsyncResult
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
Socket::EndReceive(System::SharedPtr<IAsyncResult>, SocketError&) method
Menunggu hingga operasi penerimaan asinkron yang ditentukan selesai.
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | Sebuah objek IAsyncResult yang mewakili operasi penerimaan asinkron. |
| errorCode | SocketError& | Parameter output tempat kode kesalahan akan ditempatkan ketika operasi penerimaan gagal. |
ReturnValue
Jumlah byte yang diterima.
Lihat Juga
- Typedef SharedPtr
- Class IAsyncResult
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Page for C++