I understand that peers exchange XDR messages between each other, but I can't find any information about the order this messages are sent. Is there a document describing how the communication between peers works? Or is my only hope reading the stellar-core implementation?
Also XDR messages must be wrapped before they are actually sent through TCP. What is the end format of a raw TCP message?