Kanda Foundation 0.2.0
Loading...
Searching...
No Matches
Play Modes

There are multiple ways to play sessions in the Kanda SDK. Sessions can be joined offline, connected to a dedicated server, or hosted by clients themselves, allowing other clients to join via relay or LAN.

In this context, Client refers to code that joins and participates in a session, while Server refers to code that hosts a session for one or more Clients.

Play Modes

Offline

  • Description: Both Client and Server code runs in the same application.
  • Use Case: Ideal for playing sessions offline without requiring a network connection.

Dedicated Server Hosted

  • Description: Client code runs on the end-user application while Server code runs on a dedicated server.
  • Use Case: Suitable for scenarios where a central server needs to manage the session, providing robustness and scalability.

LAN Client Hosted

  • Description: Both Client and Server code runs in the same application, with other clients joining via local network.
  • Use Case: Ideal for testing and session with poor internet connections, allowing direct connections between clients.

Each play mode offers flexibility in how sessions are managed and joined, catering to different networking needs and scenarios. Understanding these modes helps in choosing the right setup for your application’s requirements.