aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/synctime.c
AgeCommit message (Collapse)Author
2016-01-04examples: added descriptionsDaniel Stenberg
2014-12-13synctime.c: added own user-agent string.Guenter Knauf
2014-12-13synctime.c: removed another timeserver URL.Guenter Knauf
worldtimeserver.com seems also no longer available.
2014-12-13synctime.c: fixed timeserver URLs.Guenter Knauf
For getting the date header its not necessary to access special pages or even CGI scripts - all pages including the main index reply with the date header, therefore shortened URLs to domain. Removed worldtime.com; added pool.ntp.org.
2014-12-09synctime.c: fixed user-agent setting.Guenter Knauf
Some websites meanwhile refuse to reply to requests from ancient browsers like IE6, therefore I've comment out this setting, but also fixed the string to now fake IE8 if someone enables it.
2011-09-23Fixed scanf format for WORD = unsigned short.Guenter Knauf
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2008-05-22Fixed a surprising number of example programs that were passing int argumentsDan Fandrich
to curl_easy_setopt instead of long.
2007-07-12Fixed some compile warnings and errors and improved portability in theDan Fandrich
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
2006-11-19Frank Teo provided an updated, mostly docs changedDaniel Stenberg
2006-07-05Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows ↵Yang Tse
headers when compiled with Cygwin in POSIX emulation mode.
2006-02-04Frank's synctime.c example and an updated list in READMEDaniel Stenberg