The below are assuming properly formed packets with valid data.
A handshake is sent as the first interaction with a node, and requests them as a peer. If the node has the maximum number of connections, it instead sends another possible candidate.
Request:
- Node ID