System::Net::Sockets::Socket::EndReceive metodu

Socket::EndReceive(System::SharedPtr<IAsyncResult>) method

Belirtilen asenkron alma işlemi tamamlanana kadar bekler.

int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult)
ParametreTürAçıklama
asyncResultSystem::SharedPtr<IAsyncResult>IAsyncResult nesnesi, bir eşzamanlı alma işlemini temsil eder.

ReturnValue

Alınan bayt sayısı.

Ayrıca Bakınız

Socket::EndReceive(System::SharedPtr<IAsyncResult>, SocketError&) method

Belirtilen asenkron alma işlemi tamamlanana kadar bekler.

int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
ParametreTürAçıklama
asyncResultSystem::SharedPtr<IAsyncResult>IAsyncResult nesnesi, bir eşzamanlı alma işlemini temsil eder.
errorCodeSocketError&Alma işlemi başarısız olduğunda hata kodunun atanacağı çıkış parametresi.

ReturnValue

Alınan bayt sayısı.

Ayrıca Bakınız