System::Net::Sockets::Socket::BeginReceive method

Socket::BeginReceive method

비동기 쓰기 작업을 시작합니다.

System::SharedPtr<IAsyncResult> System::Net::Sockets::Socket::BeginReceive(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, SocketFlags socketFlags, AsyncCallback callback, System::SharedPtr<Object> state)
매개변수형식설명
버퍼System::ArrayPtr<uint8_t>수신된 데이터가 할당될 버퍼.
offsetint32_t지정된 배열에서 바이트 단위의 오프셋입니다.
sizeint32_t지정된 배열에서 ‘offset’ 매개변수부터 시작하는 바이트 수.
socketFlagsSocketFlags수신 동작.
콜백AsyncCallback작업이 완료될 때 호출되는 콜백.
상태System::SharedPtr<Object>각 비동기 수신 작업을 고유하게 식별하는 데 사용되는 사용자 제공 데이터.

ReturnValue

시작된 비동기 수신 작업을 나타내는 IAsyncResult 객체.

또 보기