Karl Karpfen wrote: > Meanwhile it is working. The trick: I have to do a htonl/s() for all addresses > that are used to configure the network interface (IP, netmask, gateway) but > not > for the IP and port number of the SNTP server to be contacted. > > Somewhat strange but works this way.
There's nothing strange here: the contents of ip_addr_t needs to be in network byte order and the sntp client calls a function that returns the correct byte order. Simon _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users