2015-01-29 14:35 GMT+01:00 Simon Goldschmidt <[email protected]>: > Karl Karpfen wrote: > > At least for the IP it definitely is necessary. When I hand over a > > non-ntohl()'ed IP-address to LWIP_IF.ipAddr (used with lwIPInit()), > > my network interface comes up with wrong IP. > > > Of course it's necessary for ip addresses to be in network byte order. > However, you were talking about sntp.c. There's no netif setup in there. >
No but there I have to specify the IP of the NTP-server to communcate with. My assumption: when I have to ntohl() the netif-IP, I have to do that for the NTP-IP and the port-number too. Is this wrong?
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
