libpascurl.pas(625,24) Error: Identifier not found "sockaddr".
curl_sockaddr = record
family : Integer;
socktype : Integer;
protocol : Integer;
addrlen : Cardinal; { addrlen was a socklen_t type before 7.18.0 }
{ but it turned really ugly and painful on the }
{ systems that lack this type }
addr : {$IFDEF FPC}{$IFDEF WINDOWS}TSockAddr{$ELSE}sockaddr{$ENDIF}
{$ELSE IFDEF DCC32 OR IFDEF DCC64}Pointer{$ENDIF};
end;
but, HTTPS is not supported.
(******************************************************************************)
(* libPasCURL *)
(* object pascal wrapper around cURL library *)
(* https://github.com/curl/curl *)
(* *)
(* Copyright (c) 2019 - 2020 Ivan Semenkov *)
(* https://github.com/isemenkov/libpascurl [email protected] *)
(* Ukraine *)
(******************************************************************************)
Url: https://www.bing.com/
Redirect count: 0
Content type:
Content size: Unknown
Content buffer size: 0 B
Total time: 00:03:29.241000
Name lookup time: 00:00:07.322000
Connect time: 00:00:08.352000
Time until the transfer start: 00:00:00.000000
Start transfer time: 00:00:00.000000
HTTP version: HTTP_UKNOWN
Response code: HTTP_STATUS_UNKNOWN
Header size: 0 B
Download speed: 0 B/s
Request size: 0 B
Request method: GET
-=== Content ===-