previousNet_Ping::ping() (Previous) (Next) Net_POP3next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Net_Ping::setArgs()

Net_Ping::setArgs() – Assigne les arguments pour la commande Ping

Synopsis

require_once 'Net/Ping.php';

boolean Net_Ping::setArgs ( array $args )

Description

Assigne les arguments pour la commande Ping

Parameter

  • array $args - un tableau contenant les arguments à assigner.

    Arguments disponibles
    Index Description PAS supporté sous
    "count" Nombre de paquets Ping à envoyer.  
    "quiet" Niveau d'abondance textuelle de la châine retournée. Windows
    "iface"   FreeBSD, Linux, Windows
    "ttl"    
    "timeout" Temps à attendre avant de déclarer "injoignable"  
    "size" Taille du paquet Ping FreeBSD, Darwin, Linux, Windows

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Throws

Possible PEAR_Error values
Code d'erreur Message d'erreur Raison Solution
NULL PING_INVALID_ARGUMENTS Un argument envoyé n'a pas été accepté. Contrôlez l'orthographe du nom de l'argument et vérifiez qu'il est disponible sur votre système.

Note

This function can not be called statically.

previousNet_Ping::ping() (Previous) (Next) Net_POP3next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.