Prepend the 4 byte message to the start of whatever it is you are sending.
You might want something to sniff the traffic, as well as a pattern/sample message, so that you can verify what you're sending is what they expect.
Here's an
article[
^] with a simple send() implementation.
Cheers.