Tag: WSAStartup

  • How can i get Internet connected state in Delphi

    To check the Internet connection state in Delphi, you can use the TIdHTTP component from the Indy library. This component provides a Head method that allows you to send an HTTP HEAD request to a specified URL. You can use this method to check the connection to a known website, such as “www.google.com“. Here is…