if i have a 16-bit integer (i.e. 12345) and i want to send it via tcp/ip how can i send it as two 8-bit bytes and not as 5 char bytes (i.e. '1', '2', '3', '4', '5')?
how can i format the integer before sending so that it takes up as little space as possible?
thanks, bigdaz
how can i format the integer before sending so that it takes up as little space as possible?
thanks, bigdaz