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


지정된 비동기 수신 작업이 완료될 때까지 기다립니다.

```cpp
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| asyncResult | System::SharedPtr\<IAsyncResult\> | 비동기 수신 작업을 나타내는 [IAsyncResult](../../../system/iasyncresult/) 객체. |

### ReturnValue

수신된 바이트 수.

## 또 보기

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IAsyncResult](../../../system/iasyncresult/)
* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Page for C++](../../../)
## Socket::EndReceive(System::SharedPtr\<IAsyncResult\>, SocketError\&) method


지정된 비동기 수신 작업이 완료될 때까지 기다립니다.

```cpp
int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| asyncResult | System::SharedPtr\<IAsyncResult\> | 비동기 수신 작업을 나타내는 [IAsyncResult](../../../system/iasyncresult/) 객체. |
| errorCode | SocketError\& | 수신 작업이 실패했을 때 오류 코드가 할당되는 출력 매개변수. |

### ReturnValue

수신된 바이트 수.

## 또 보기

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IAsyncResult](../../../system/iasyncresult/)
* Enum [SocketError](../../socketerror/)
* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Page for C++](../../../)
