Recent

Author Topic: Network library compatible with Win/Mac  (Read 2219 times)

superc

  • Full Member
  • ***
  • Posts: 242
Network library compatible with Win/Mac
« on: February 07, 2022, 09:46:30 am »
Hello,

one of my problem is check internet connection and if one site is online: well, there are many example code in forum for resolve it, but I want use a library full compatible for Win32-64/Mac;  could indy 10 be the right choice?

I use lazarus 2.2rc2 32bit and fpc 3.2.3 on Windows 10 64bit.


Thanks in advance.
« Last Edit: February 07, 2022, 09:54:31 am by superc »

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 1314
    • Lebeau Software
Re: Network library compatible with Win/Mac
« Reply #1 on: February 07, 2022, 07:37:32 pm »
could indy 10 be the right choice?

Being the "right" choice is subjective.  It is "one" of "several" possible choices.  Use whatever choice suits your needs.

But yes, for the most part, Indy is compatible with both Windows and Mac.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Network library compatible with Win/Mac
« Reply #2 on: February 07, 2022, 10:53:03 pm »
Not x-platform but worth mentioning that macOS has a comprehensive API for this purpose - see my Wiki article SCNetworkReachability API which contains a code example.

superc

  • Full Member
  • ***
  • Posts: 242
Re: Network library compatible with Win/Mac
« Reply #3 on: February 08, 2022, 10:21:12 am »
could indy 10 be the right choice?

Being the "right" choice is subjective.  It is "one" of "several" possible choices.  Use whatever choice suits your needs.

But yes, for the most part, Indy is compatible with both Windows and Mac.
hello Remy, yours is an authoritative opinion! I hope the part I need is compatible, but i'm sure of yes.

Not x-platform but worth mentioning that macOS has a comprehensive API for this purpose - see my Wiki article SCNetworkReachability API which contains a code example.

x-platform are very interting library but only for mac (from what I understand) and would like something cross-platform ...

Thanks in advance.










 

TinyPortal © 2005-2018