Syntax highlighting of server-protocol/Packet_0xC0

# Packet 0xC0

[TOC]

The server sends clients a Packet 0xC0 to give them the options for a choice search. Clients send a Packet 0xC0 to actually request the information to be sent.

## Dreamcast Packet Format (Server->Client)
| Bytes | Meaning |
| --- | --- |
| 0x00 | Packet Type (0xC0) |
| 0x01 | Flags (Number of Entries) |
| 0x02-0x03 | Packet Size (Variable) |
| 0x04... | Entries for choice search |

### Choice Search Entry Format
Each entry in the above packet is formed as follows:

| Bytes | Meaning |
| --- | --- |
| 0x00-0x03 | Menu ID |
| 0x04-0x07 | Item ID |
| 0x08-0x23 | Text for this item |

## Dreamcast Packet Format (Client->Server)
| Bytes | Meaning |
| --- | --- |
| 0x00 | Packet Type (0xC0) |
| 0x01 | Flags (Number of Entries) |
| 0x02-0x03 | Packet Size (0x0004) |