Re: Network Connectivity help please
| From: | Don Read | Date: | Sun, 20 May 2001 21:56:11 +0000 |
| Subject: | Re: Network Connectivity help please | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53635@lists.php.net to get a copy of this message | ||
On 18-May-01 Brian wrote:
> Good point, I considered, doing it that way, I was just hoping that there
> might be a 'prettier' way to do it from within PHP. Right now I'm using
> fping from within a php loop that steps through the class C. The machine
> I'm doing this on is dog slow though, so I'm hoping that when I move the
> final version over to our main webserver it will run the script at an
> acceptable speed. If not though, I have a feeling that I will most likely
> implement your suggestion, unless someone knows of the 'pretty' solution
> that I seek :)
>
The background script is the better way; but for a short-cut, at the
top of the loop, ping your broadcast addr '192.168.x.255' a few times
and then collect the DUP's.
These won't have to get pinged explicitly.
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.