This repository was archived by the owner on Feb 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
libpascurl.pas(625,24) Error: Identifier not found "sockaddr" #4
Copy link
Copy link
Open
Description
IDE : lazarus 2.2.2 (FPC : 3.2.2)
OS : Win10
libpascurl.pas(625,24) Error: Identifier not found "sockaddr".
fix:
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.
RemoteConnect.exe -a -e https://www.bing.com
(******************************************************************************)
(* libPasCURL *)
(* object pascal wrapper around cURL library *)
(* https://github.com/curl/curl *)
(* *)
(* Copyright (c) 2019 - 2020 Ivan Semenkov *)
(* https://github.com/isemenkov/libpascurl ivan@semenkov.pro *)
(* 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 ===-
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels