Would anybody know of a fairly generic way of getting the IP addresses
of a site, (ipv4 and ipv6 when available), while protecting myself from timeouts.
You have to write your own function that will build a UDP packet to
query a DNS server, call the socket_set_timeout() function to set a
timeout value, send the UDP packet, and hope that you get a response.
An example of how you can do this is located at php.net:
From Jerry Stuckle@stuckle.jerry@gmail.com to comp.lang.php on Fri Mar 24 13:24:54 2023
From Newsgroup: comp.lang.php
On 2/13/2023 12:33 PM, J.O. Aho wrote:
On 2/13/23 17:09, Raul Molnar wrote:
Hi,
See
I think you didn't see "November 16, 2012", I doubt the OP been waiting
for your reply for 3741 days.
I think your point went way over his head, J.O. :)
--
==================
Remove the "x"'s from my email address
Jerry Stuckle stucklex.jerryx@gmail.com
==================
--- Synchronet 3.21d-Linux NewsLink 1.2
From J.O. Aho@user@example.net to comp.lang.php on Fri Mar 24 21:58:24 2023
From Newsgroup: comp.lang.php
On 24/03/2023 18:24, Jerry Stuckle wrote:
On 2/13/2023 12:33 PM, J.O. Aho wrote:
On 2/13/23 17:09, Raul Molnar wrote:
Hi,
See
I think you didn't see "November 16, 2012", I doubt the OP been
waiting for your reply for 3741 days.
I think your point went way over his head, J.O. :)
:)
Too big numbers for him to understand, but more important to post github
url.
--
//Aho