Network Protocol/QUIT

From Custom Mario Kart
< Network Protocol
Revision as of 19:47, 29 April 2023 by Krummers (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

This article describes the record type QUIT of the Network Protocol. Every time a client leaves a room or race, it sends the QUIT message to all other active clients. A QUIT message is a simple 3 byte long packet. The following are some notes about this record.

  • QUIT is used if you leave a room or between global races.
  • Turning off a console still sends QUIT messages.
  • After sending QUIT to all other clients, the game waits for a small amount of time. If more packets arrive, then a new QUIT message is sent for each arrived packet.
  • A QUIT message is also sent as acknowledgement for a received QUIT.