aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/asiohiper.cpp
AgeCommit message (Collapse)Author
2018-09-10example/asiohiper: insert warning comment about its statusDaniel Stenberg
This example is simply not working correctly but there's nobody around with the skills and energy to fix it. Closes #2407
2017-05-19asiohiper.cpp / evhiperfifo.c: deal with negative timerfunction inputDaniel Stenberg
That means delete the timer. Reported-by: Michael Kaufmann Ref: #1253
2017-03-23asiohiper: make sure socket is open in event_cbEdward Kimmel
Send curl_socket_t to event_cb and make sure it hasn't been closed yet. Closes https://github.com/curl/curl/pull/1318
2017-01-08examples: make the C++ examples follow our code style tooDaniel Stenberg
At least mostly, not counting // comments.
2017-01-08asiohiper: improved socket handlingAulddays
libcurl requires CURLMOPT_SOCKETFUNCTION to KEEP watching socket events and notify back. Modify event_cb() to continue watching events when fired. Fixes #1191 Closes #1192 Fixed-by: Mingliang Zhu
2016-02-06examples/asiohiper: Avoid function name collision on WindowsGisle Vanem
closesocket => close_socket Winsock already has the former. Bug: https://curl.haxx.se/mail/lib-2016-02/0016.html
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2015-06-18examples: add descriptions with <DESC>Daniel Stenberg
Using this fixed format for example descriptions, we can generate a better list on the web site.
2014-12-27asiohiper.cpp: No need to initialise members of ConnInfoSteve Holme
...as calloc() automatically clears the area of memory with zeros.
2014-12-27asiohiper.cpp: Updated for curl coding standardsSteve Holme
...with the exception of the start of block statement curly brackets.
2014-12-27code/docs: Use correct case for IPv4 and IPv6Steve Holme
For consistency, as we seem to have a bit of a mixed bag, changed all instances of ipv4 and ipv6 in comments and documentations to use the correct case.
2012-11-25examples: Updated asiohiper.cpp to remove connect from opensocketLijo Antony
Blocking connect on the socket has been removed from opensocket callback. opensocket just opens a new socket and gives it back to libcurl and libcurl will take care of the connect. sockopt_callback has also been removed, as it is no longer required.
2012-11-21examples: Added a c++ example of using multi with boost::asioLijo Antony
Added an example for demonstrating the usage of curl multi interface with boost::asio in c++