Any way to convert a a 2 byte short (normal short) into just a 2 byte string (char*) after using htons on that short. The thing is that the htons method returns an int (4 bytes), how do I put it into a 2 byte string ???
Note: I need to be able to use ntohs on the result to get the original value.
Thanks in advice :D