Bitcoin (and derived altcoins) use magic byte prefixes to identify their network messages and to distinguish between clients running on different networks/chains such as testnet or an altcoin. Does Monero use something similar? If so, what is the value, and where is the code that defines it?
In bitcoin, the value is 0xd9b4bef9 and it is defined at: https://github.com/bitcoin/bitcoin/blob/v0.16.1/src/chainparams.cpp#L115