diff --git a/WEB/Client/Client.php b/WEB/Client/Client.php index bf44b04c..eb679b0c 100644 --- a/WEB/Client/Client.php +++ b/WEB/Client/Client.php @@ -3,13 +3,6 @@ class Client{ private static $instance; private $socket; - private function __construct() { - // Créer une socket - var_dump(socket_create(AF_INET, SOCK_STREAM,0)); - $this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) or die("la socket n'a pas pu être créée"); - socket_bind($this->socket,'172.21.92.169', 4000) or die("la socket n'a pas pu être attachée à l'adresse ip et au port"); - - } public static function getInstance() { if (self::$instance === null) { self::$instance = new self();