if U got these error when using libcurl in vs, see this
Linking...
Creating library Debug/libcurl.lib and object Debug/libcurl.exp
telnet.obj : error LNK2001: unresolved external symbol __imp__WSAEnumNetworkEvents@12
telnet.obj : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
telnet.obj : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
Debug/libcurl.dll : fatal error LNK1120: 3 unresolved externals
then U need to add ws2_32.lib in the project setting’s linking modle and everything gonna be ok.
the C's API of Curl can be found here: