AnsweredAssumed Answered

Do I need to use htons/htonl when setting up TCP and UDP comms using p1025 QorIQ?

Question asked by Clive Stokes on Jun 11, 2013
Latest reply on Jun 11, 2013 by Andrej Butok

I am new to TCP and UDP  comms and am working with code that has worked on the TWR QorIQ MPU Tower System Module but under QNX.

The code sets up the client and remote socket info using htons on the ports and htonl on the remote address which I assumed would be unchanged (same processor) when the code was ported to work under MQX. However I  note from the discussion headed htons problem with K60?  MQX bug? that MQX may be non-standard in this area. Can someone provide clarification?