IC:Protocol

From wiki.vg
Revision as of 01:24, 23 January 2011 by imported>MAD (Signing and sizes?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The "InfiniCraft" (IC) Client Proxy <-> Node Protocol Draft.

Data Types

All types are the same as Java for performance reasons, with the exception of all integral types having unsigned variants as well as signed variants. All sizes are unsigned.

Header

All packets begin with the same header, intended to ease creating flexible tools and future-compatibility.

  • ID [unsigned byte] - denotes the type of packet being recieved
  • FLAGS [unsigned byte] - protocol and packet features
  • LENGTH [unsigned int] - total length of the packet (for skip-ahead)