summaryrefslogtreecommitdiff
path: root/docs/examples/pop3-multi.c
Commit message (Collapse)AuthorAgeFilesLines
* docs/examples: use curl_multi_poll() in multi examplesDaniel Stenberg2021-07-071-101/+10
| | | | | | | | | | | | The API is soon two years old and deserves being shown as the primary way to drive multi code as it makes it much easier to write code. multi-poll: removed multi-legacy: add to show how we did multi API use before curl_multi_wait/poll. Closes #7352
* copyright: fix year rangesDaniel Stenberg2020-11-051-1/+1
| | | | Follow-up from 4d2f8006777
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* code style: use spaces around plusesDaniel Stenberg2017-09-111-2/+2
|
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-3/+2
| | | | | | | | | | All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* examples: Added website parse-able descriptions to the e-mail examplesSteve Holme2015-11-221-0/+6
|
* examples: Fixed compilation warningsSteve Holme2015-11-211-1/+2
| | | | | | | | pop3-multi.c:96:5: warning: implicit declaration of function 'memset' imap-multi.c:96:5: warning: implicit declaration of function 'memset' http2-download.c:226:5: warning: implicit declaration of function 'memset' http2-upload.c:290:5: warning: implicit declaration of function 'memset' http2-upload.c:290:5: warning: implicit declaration of function 'memset'
* docs: Spelling fixesVille Skyttä2015-06-081-1/+1
|
* examples: Wait recommended 100ms when no file descriptors are readyJay Satiro2014-11-191-8/+12
| | | | | | | | | Prior to this change when no file descriptors were ready on platforms other than Windows the multi examples would sleep whatever was in timeout, which may or may not have been less than the minimum recommended value [1] of 100ms. [1]: http://curl.haxx.se/libcurl/c/curl_multi_fdset.html
* examples: Don't call select() to sleep on windowsJay Satiro2014-11-151-8/+26
| | | | | | | | | | | | Windows does not support using select() for sleeping without a dummy socket. Instead use Windows' Sleep() and sleep for 100ms which is the minimum suggested value in the curl_multi_fdset() doc. Prior to this change the multi examples would exit prematurely since select() would error instead of sleeping when called without an fd. Reported-by: Johan Lantz Bug: http://curl.haxx.se/mail/lib-2014-11/0221.html
* examples: Fixed compilation errorsSteve Holme2014-01-121-0/+2
| | | | error: 'MULTI_PERFORM_HANG_TIMEOUT' undeclared
* pop3-multi.c: Corrected copy/paste typoSteve Holme2014-01-121-1/+1
|
* examples: Added POP3 multi exampleSteve Holme2014-01-121-0/+143