[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] NTP / SNTP for lwIP
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] NTP / SNTP for lwIP |
Date: |
Mon, 02 Jul 2012 09:22:00 +0200 |
> Von: "Funk, Artur" <address@hidden>
> As far as I know, the sntp example from contribution contains also a non
> socket version. You can switch via define to the raw version, where just few
> udp actions are required.
Up to lwIP 1.3.0, I think, the sntp example was for sockets, only. After that,
there was a define (SNTP_SOCKET) which allowed to switch between socket and raw
API. By now, the socket code has been removed (as there is nothing
lwIP-specific in it) and the sntp.c file only contains raw API code.
You can get the current version from git:
http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git
or:
http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/tree/apps/sntp/sntp.c
Simon