System::Net::Sockets::Socket::EndReceive 메서드

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

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

int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult)
매개변수형식설명
asyncResultSystem::SharedPtr<IAsyncResult>비동기 수신 작업을 나타내는 IAsyncResult 객체.

ReturnValue

수신된 바이트 수.

또 보기

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

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

int32_t System::Net::Sockets::Socket::EndReceive(System::SharedPtr<IAsyncResult> asyncResult, SocketError &errorCode)
매개변수형식설명
asyncResultSystem::SharedPtr<IAsyncResult>비동기 수신 작업을 나타내는 IAsyncResult 객체.
errorCodeSocketError&수신 작업이 실패했을 때 오류 코드가 할당되는 출력 매개변수.

ReturnValue

수신된 바이트 수.

또 보기