mirror of
https://github.com/curl/curl.git
synced 2026-07-23 19:27:17 +03:00
win32sockets.c is now added with winsock init/cleanup example functions
This commit is contained in:
parent
43da41e73e
commit
ada9bc2b24
6 changed files with 80 additions and 1 deletions
|
|
@ -1,9 +1,22 @@
|
|||
/*****************************************************************************
|
||||
* _ _ ____ _
|
||||
* Project ___| | | | _ \| |
|
||||
* / __| | | | |_) | |
|
||||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
|
||||
/* to make this work under windows, use the win32-functions from the
|
||||
win32socket.c file as well */
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
CURL *curl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue