Does anyone know how to convert "\220\221" to a short int? I need
to know because I have been working with binary files and need to
get 2 binary chars (for example "\220\221") to a short "network"
order.
I have had no success for 3 days now so I have only written to the
newsgroup because I know I can not go any futher. I have tried
working with ntohs() but I seem to do everything wrong :(
If anyone can give me the code to achieve the above or has any idea,
I would be VERY greatful !
Waiting in anticipation,
-Paul