طريقة System::Net::Sockets::Socket::EndSend

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

ينتظر حتى يكتمل عملية الإرسال غير المتزامنة المحددة.

int32_t System::Net::Sockets::Socket::EndSend(System::SharedPtr<IAsyncResult> asyncResult)
ParameterTypeالوصف
asyncResultSystem::SharedPtr<IAsyncResult>كائن IAsyncResult يمثل عملية إرسال غير متزامنة.

ReturnValue

عدد البايتات المرسلة.

انظر أيضًا

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

ينتظر حتى يكتمل عملية الإرسال غير المتزامنة المحددة.

int32_t System::Net::Sockets::Socket::EndSend(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
ParameterTypeالوصف
asyncResultSystem::SharedPtr<IAsyncResult>كائن IAsyncResult يمثل عملية إرسال غير متزامنة.
errorCodeSocketError&معامل الإخراج حيث سيتم تعيين رمز الخطأ عندما تفشل عملية الإرسال.

ReturnValue

عدد البايتات المرسلة.

انظر أيضًا