rpg Posted May 14, 2003 Report Share Posted May 14, 2003 vai iesejams uzrakstit php skriptu kas parbauda servera stavokli kurs lieto kadu noteiktu portu un ip adresi,un attiecigi parada ta statusu?kada butu skripta source? Link to comment Share on other sites More sharing options...
Roze Posted May 14, 2003 Report Share Posted May 14, 2003 http://lv.php.net/manual/en/function.fsockopen.php Paskaties tur ir diezgan daudz samplji.. Bet principaa lai paarbaudiitu vai kaads serviss uz kaada porta iet vajadzeetu pietikt tikai ar pashu funkciju t.i. meegjinata atveert konekciju un ja funkcija atgriezh erroru (errno, errstr) vai false vai timeoutu (var noraadiit) tas noziimee ka serviss neiet vai nav iespeejams piesleegties.. Link to comment Share on other sites More sharing options...
Recommended Posts