Hi Clive,
This is legacy feature of RTCS. Port and IPv4 address are in host-endian format.
Yes. It is very confusion, especially for somebody who came from other stack.
I would change it, even if it will require rewriting of existing application, just to follow some BSD-Socket approach.
Before we do it (as it will break all existing RTCS application), I need to see that there is real support of this change from MQX/RTCS community.
Thank you,
Andrey Butok