System::Net::Sockets::Socket::EndSend method

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

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

int32_t System::Net::Sockets::Socket::EndSend(System::SharedPtr<IAsyncResult> asyncResult)
معاملنوعالوصف
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)
معاملنوعالوصف
asyncResultSystem::SharedPtr<IAsyncResult>كائن IAsyncResult يمثل عملية إرسال غير متزامنة.
errorCodeSocketError&معامل الإخراج الذي سيتم تعيين رمز الخطأ فيه عندما تفشل عملية الإرسال.

ReturnValue

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

انظر أيضًا