Network Protocol/QUIT

From Custom Mario Kart
Jump to navigation Jump to search


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.