> Von: "Funk, Artur" <[email protected]>
> 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

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to