I have a client C and server C, the client connects to the server and sends a message. At runtime I want to attach to the message sent, a couple (x, y) struct of int
I want at run time, redirect the socket and attach on it a couple(struct (1,2) for example) and at the reception I will save this information

Have you an idea about a mechanism allows me to attach the couple at runtime?

Thank you.