FFI, cURL and function callback
- From: pingon begand <sbronfion@xxxxxxxxx>
- To: luajit@xxxxxxxxxxxxx
- Date: Sun, 24 Mar 2013 13:32:24 +0100
Hello everyone !
I have a lot of codes that depends on luasocket, however it looks to be
unmaintained anymore. I am thinking to switch to the cURL library thanks to
the FFI LuaJIT is offering.
I want to use the cURL library in order to retrieve some website contents
as strings. However one need to have a function callback in order to do
this. Is this possible to achieve such things with plain LuaJIT and FFI?
Here is a C example :
http://stackoverflow.com/questions/2329571/c-libcurl-get-output-into-a-string
Thanks a lot for your help !
Other related posts:
- » FFI, cURL and function callback - pingon begand
- » Re: FFI, cURL and function callback- Szabó Antal
- » Re: FFI, cURL and function callback- pingon begand
- » Re: FFI, cURL and function callback- Szabó Antal
- » Re: FFI, cURL and function callback- pingon begand
- » Re: FFI, cURL and function callback- Szabó Antal
- » Re: FFI, cURL and function callback- pingon begand
- » Re: FFI, cURL and function callback- Paulo Matias
- » Re: FFI, cURL and function callback- Florian Weimer
- » Re: FFI, cURL and function callback- pingon begand
- » Re: FFI, cURL and function callback- Alexander Gladysh
- » Re: FFI, cURL and function callback- pingon begand
- » Re: FFI, cURL and function callback- Alexander Gladysh
- » Re: FFI, cURL and function callback- Pierre Chapuis
- » RE: FFI, cURL and function callback- William Adams
- » RE: FFI, cURL and function callback- Justin Cormack
- » RE: FFI, cURL and function callback- William Adams
- » RE: FFI, cURL and function callback- Justin Cormack
- » RE: FFI, cURL and function callback- Pierre Chapuis
- » Re: FFI, cURL and function callback- Alexander Gladysh
- » Re: FFI, cURL and function callback- steve donovan
- » RE: FFI, cURL and function callback- William Adams
- » Re: FFI, cURL and function callback- Daurnimator
- » Re: FFI, cURL and function callback- pingon begand
- » RE: FFI, cURL and function callback- William Adams
- » Re: FFI, cURL and function callback- Daurnimator
- » RE: FFI, cURL and function callback- William Adams
- » Re: FFI, cURL and function callback- Dan Eloff
- » Re: FFI, cURL and function callback- Daurnimator
- » Re: FFI, cURL and function callback- grrr waaa
- » Re: FFI, cURL and function callback- Alexander Gladysh
- » Re: FFI, cURL and function callback- madigest i
- » RE: FFI, cURL and function callback- William Adams
- » Re: FFI, cURL and function callback- Daurnimator
- » Re: FFI, cURL and function callback- Alek Paunov
- » Re: FFI, cURL and function callback- Justin Cormack
- » Re: FFI, cURL and function callback- fuji xerox
- » Re: FFI, cURL and function callback- Vadim A. Misbakh-Soloviov