UPDATE: and when testing against colony posix I see the expected:
connection 127.0.0.1 32512
…so I almost wonder if either ntohl is broken when compiling firmware, or if (wouldn't be surprised…) the CC3K library structs themselves are not [consistently?] in network endianness.
Using the script in #618 I noticed something funny in the output:
…the remote machine's IP address is
192.168.4.114
!The logic looks right to me:
UPDATE: and when testing against colony posix I see the expected:
…so I almost wonder if either
ntohl
is broken when compiling firmware, or if (wouldn't be surprised…) the CC3K library structs themselves are not [consistently?] in network endianness.