Hello Karl, On Tue, Feb 03, 2015 at 03:08:48PM +0100, Karl Karpfen wrote: > Hi Sylvain, > > that is not a solution since I have to parse a string containing the IP. > > 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.
Then what about ipaddr_aton(const char *cp, ip_addr_t *addr) ? Sylvain
signature.asc
Description: Digital signature
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users