|
Re: lug-bg: DVB - proverka za aktivnost
- Subject: Re: lug-bg: DVB - proverka za aktivnost
- From: zimage@xxxxxxxxx (Theodor Milkov)
- Date: Wed, 26 Jul 2000 17:19:39 +0300
Bobi wrote:
> Zdrasti,
>
> Otkakto EOL smeniha auth. shemata ne mi raboti proverkata dali rabotqt ili ne.
>
> Predi prosto ping-vah proxy-to (ne che e naj-dobriq metod, no si raboteshe).
>
> Daite idei kakvi proverki ste napravili da priloza nqkoq.
Az na moi web server imam cgi script sadarjasht:
---------
#!/bin/sh
echo -ne "Content-type: text/plain\n\r\n\r"
date +%s
---------
Sled tova s drug script se opitvam da izteglia output-a ot purvia
i ako ne uspeia ili razlikata vav vremenata e tvurde goliama da vzema
neobhodimite merki...
Hint: lynx -source http://alabala.com/cgi-bin/unix_time.cgi
Hint2: lynx-a niama optsia s koiato da mu se kontrolira timeouta. Opitai s
socket() either perl or C
Hint3: e moje i sas popen() i lynx v kombinatsia s alarm() i signal()....
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|