Bytes and strings are easy to do but I cant seem to find any reference as to how integers, long integers, singles and doubles are assembled except for how many bytes long they are.
I know that 1 bit is used to determine if the value is positive or negative but is it the most or least significant bit and in what order are the bytes stored to create the value.
Create a second User Defined Type of a single byte array with more elements than any of the types I have created
Use Lset to push my defined type into the byte array
Use a loop to cycle the individual bytes out of the defined array into a normal Byte array
send that byte array through winsock
do same procedure in reverse at the recieving end