EasyTCPSocket data to obj-c socket

Hi everyone, I am adding iOS support for a product (in obj-c) and need to receive messages from a Mac app written in Xojo. The Mac software currently uses an EasyTCPSocket to handle the networking and utilizes SendMessage quite heavily with various codes for different events. When I receive the data in Xojo, the socket gets both the message code and the data being sent. However, when I listen with a socket in obj-c (specifically GCDAsyncSocket) the socket only receives the data and not the message code. Is the code being sent as bytes that are not human readable or is there something else going on?

I know that EasyTCPSocket is a proprietary format. I’m not sure it’s a good choice with another apps that’s not Xojo based.