291Kart Networking Structure

On the main menu, the user is prompt to enter a number from 0 to 9. The purpose of this is to allow 10 unique 16 byte group names to allow 10 different networked sessions of two players each. After entering a number, if no one else enters the same number within 1 minute, then connection to network is released. Two players who wish to race each other need to communicate with each other and agree on the number to enter.

Network Variables

  • Other Player's Variables
  • Variable for using time control to send packets
  • Network Control Block Structure

    Network Procedures

  • _NetINIT
  • _NetRelease
  • SendPacket
  • _SendDataCheck
  • _SendPlayerInfo
  • _SendTrackInfo
  • SendPlayerData
  • _SendTimeExit
  • Post (interupt)
  • NetPost
  • Wait
  • Network Error Functions

  • ConnectFailFunc
  • ConnTimeOverFunc
  • Time Variables

    Time Functions

  • _InitTime
  • _UpDateTime