This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Does TI compiler support the usage of ntohs() and ntohl() functions ?

When i try to compile my application using TI C/C++ compiler on CCS v4 which contains ntohs() and ntohl(), i receive and Link Error for ntohs and ntohl functions since its not available.

Do i need to change some compiler settings for the same, and how can i use such functions to change the byte ordering ?