Created
February 13, 2023 08:56
-
-
Save aerphanas/de954fcf3fdff9bbff372f0c3d0df209 to your computer and use it in GitHub Desktop.
Counter Spam
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <curl/curl.h> | |
| #define TO 100 | |
| #define URL "https://google.com" | |
| int | |
| main() | |
| { | |
| for(size_t i = 0;i < TO;i++) | |
| { | |
| CURL *curl; | |
| char url[] = URL; | |
| curl = curl_easy_init(); | |
| curl_easy_setopt(curl, CURLOPT_URL, url); | |
| curl_easy_perform(curl); | |
| curl_easy_cleanup(curl); | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment