I try to create a way to use http request on my game,
I do it using java on android and obj-c on ios,
but I want to use c++ to create one single code for both plataforms.
I create a synchronous http request using this post
But now I want to create a asynchronous http request, because a month ago I got one of my games repproved by samsungapps because I use a synchronous http request(the server take long time response and the system show an ANR[app not respond] error)
The libcurl have the multi interface, but I look in the official website of libcurl and can’t create a example using it.
Anyone could help create a asynchronous http request, using libcurl or using another approach?