> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# process_incoming_data

> chat_manager::process_incoming_data

# chat\_manager::process\_incoming\_data

Game Chat 2의 원격 인스턴스에서 수신한 데이터를 Game Chat 2에 전달합니다.

## 구문

```cpp theme={null}
void process_incoming_data(  
    uint64_t sourceEndpointIdentifier,  
    uint32_t bufferByteCount,  
    const void* buffer  
)  
```

### 매개 변수

*sourceEndpointIdentifier*   \_In\_\
형식: uint64\_t

[chat\_manager::add\_remote\_user](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_add_remote_user.md)에 대한 이전 호출에서 Game Chat 2에 알린 엔드포인트와 연결된 식별자입니다.

*bufferByteCount*   \_In\_\
형식: uint32\_t

데이터 버퍼의 크기(바이트 단위)입니다.

*buffer*   \_In\_reads\_(bufferByteCount)\
형식: void\*

데이터 버퍼입니다.

### 반환 값

형식: void

없음.

## 설명

앱의 전송 계층이 Game Chat 2의 원격 인스턴스에서 발생한 데이터를 수신하면 이 메서드를 호출하여 데이터를 Game Chat 2의 로컬 인스턴스에 전달합니다. 그러면 Game Chat 2가 수신 데이터를 디코딩하고 이를 로컬 사용자의 디바이스로 렌더링합니다. 데이터 프레임 처리에 대한 자세한 내용은 [Game Chat 2 C++ API 사용](https://docs.xbox.com/ko/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2.md)을 참조하세요.

## 요구 사항

**헤더:** GameChat2.h

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 관련 항목

[Game Chat 2 소개](https://docs.xbox.com/ko/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro.md)\
[game\_chat\_data\_frame](https://docs.xbox.com/ko/reference/chat/gamechat2/structs/game_chat_data_frame.md)\
[chat\_manager](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/chat_manager.md)


## Related topics

- [add_remote_user](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_add_remote_user.md)
- [OnFoundProcess](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/methods/ixtfrunningprocesscallback_onfoundprocess.md)
- [finish_processing_data_frames](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_finish_processing_data_frames.md)
- [start_processing_data_frames](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_data_frames.md)
- [Create Build With Process Based Server](https://docs.xbox.com/api-reference/multiplayerserver/create-build-with-process-based-server.md)
