[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] SNTP client does not work
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] SNTP client does not work |
Date: |
Tue, 3 Feb 2015 15:14:30 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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