diff --git a/WEB/Client/Client.php b/WEB/Client/Client.php index 4f1e1f08..bf44b04c 100644 --- a/WEB/Client/Client.php +++ b/WEB/Client/Client.php @@ -7,7 +7,7 @@ class Client{ // 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, pg_host(), 4000) or die("la socket n'a pas pu être attachée à l'adresse ip et au port"); + 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() {