Sindup:Doc DaemonDetectLang
De Hegyd Doc.
(Différences entre les versions)
| Ligne 7 : | Ligne 7 : | ||
Création de l'objet : | Création de l'objet : | ||
$dl = new DetectLang( $context); | $dl = new DetectLang( $context); | ||
| + | |||
| + | |||
| + | Exemple d'utilisation : | ||
| + | |||
| + | |||
== Serveur C++ == | == Serveur C++ == | ||
Version actuelle en date du 6 mars 2012 à 12:31
[modifier] Client PHP
La conf doit contenir :
$conf["SOCKET_ADDRESS"] = 'localhost'; // Host vers server avec le daemon $conf["SOCKET_PORT"] = '5005'; // Port de connection pour la socket
Création de l'objet :
$dl = new DetectLang( $context);
Exemple d'utilisation :
