summaryrefslogtreecommitdiff
path: root/docs/examples/externalsocket.c
Commit message (Collapse)AuthorAgeFilesLines
* examples/externalsocket.c: s/closesocket/closecbDaniel Stenberg2017-05-311-2/+2
| | | | | | | | ... since closesocket is a function in WinSock. Reported-by: Marcel Raad Bug: https://github.com/curl/curl/commit/55fcb8485914700132fd1854c9509b66c955efbe#co mmitcomment-22347818
* example/externalsocket.c: make it use CLOSESOCKETFUNCTION tooDaniel Stenberg2017-05-311-0/+11
|
* spelling fixesklemens2017-03-261-2/+2
| | | | Closes #1356
* checksrc: warn for assignments within if() expressionsDaniel Stenberg2016-12-141-5/+6
| | | | | ... they're already frowned upon in our source code style guide, this now enforces the rule harder.
* docs/examples: remove spurious white spaces all overDaniel Stenberg2016-04-031-1/+1
| | | | ... to please the new, slightly picker, checksrc.pl
* externalsocket.c: fix compiler warning for fwrite return typeDaniel Stenberg2016-02-171-1/+1
|
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-5/+5
| | | | | | | | | | 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: more descriptionsDaniel Stenberg2015-06-181-3/+4
|
* code/docs: Use Unix rather than UNIX to avoid use of the trademarkSteve Holme2014-12-261-2/+2
| | | | | Use Unix when generically writing about Unix based systems as UNIX is the trademark and should only be used in a particular product's name.
* examples/externalsocket.c: fix SunPro compilation issueYang Tse2012-12-101-0/+4
|
* examples: fix compiler warningsYang Tse2012-04-131-3/+9
|
* Added some include files in a couple of example programsDan Fandrich2011-12-061-0/+1
| | | | | This improves portability of the examples. This patch was submitted to the OpenBSD ports collection by naddy.
* Fixed sample to compile for Windows platform.Guenter Knauf2011-09-211-9/+23
|
* externalsocket.c: new exampleDaniel Stenberg2011-08-231-0/+128