System::Net::Sockets::Socket::EndSend method
Socket::EndSend(System::SharedPtr<IAsyncResult>) method
等待指定的异步发送操作完成。
int32_t System::Net::Sockets::Socket::EndSend(System::SharedPtr<IAsyncResult> asyncResult)
| 参数 | 类型 | 描述 |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | 一个 IAsyncResult 对象,表示异步发送操作。 |
ReturnValue
已发送字节的数量。
另见
- Typedef SharedPtr
- Class IAsyncResult
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
Socket::EndSend(System::SharedPtr<IAsyncResult>, SocketError&) method
等待指定的异步发送操作完成。
int32_t System::Net::Sockets::Socket::EndSend(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
| 参数 | 类型 | 描述 |
|---|---|---|
| asyncResult | System::SharedPtr<IAsyncResult> | 一个 IAsyncResult 对象,表示异步发送操作。 |
| errorCode | SocketError& | 当发送操作失败时,错误代码将被分配到的输出参数。 |
ReturnValue
已发送字节的数量。
另见
- Typedef SharedPtr
- Class IAsyncResult
- Enum SocketError
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++