You'll have to encode it into binary, send it over the socket, then decode the binary on the other end,
It sounds as if you may need to ask a more detailed question...
What exactly is the difficulty? Don't forget about our support
resources, located at <http://www.realbasic.com/support>