LoginSignup
2
2

More than 3 years have passed since last update.

UE4のマルチプレイでの通信周りの処理についてのとっかかり

Posted at

UE4の接続周りの処理を確認するときに参照した情報についてメモします。
メモのような情報を参照してOnlineSubsystemOculusなどの末端のコードまで含めて見ることで結構処理を追うことができました。
自分の理解のために図化したりしていますが理解が間違っている可能性があります。
また、自分にとって必要になった接続周りの一部しかまとめていません。

接続周り

接続周りはNetDriver.hのコメントに詳しく書いてある。

NetDrivers, NetConnections, and Channels、Game Net Drivers, Net Connections, and Channelsあたりの内容

NetDriverNetConnectionChannel.png

Startup and Handshakingあたりの内容

UE4サーバー起動(1).png

UE4クライアントの接続.png

ハンドシェーク周り

ハンドシェーク周りはStatelessConnectHandlerComponent.cppにも書いてある。

ハンドシェーク.png

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2