From 8becc9cd13865719346d029a263e9ad4143915c6 Mon Sep 17 00:00:00 2001 From: haller Date: Fri, 2 Dec 2005 00:40:03 +0000 Subject: Mise à jour du configure.ac Correction des flags et libs pour test_socket modification de socket (problèmes à résoudre) --- i/simulotron/src/socket/socket.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i/simulotron/src/socket/socket.hh') diff --git a/i/simulotron/src/socket/socket.hh b/i/simulotron/src/socket/socket.hh index 3d054fa..92fddfd 100644 --- a/i/simulotron/src/socket/socket.hh +++ b/i/simulotron/src/socket/socket.hh @@ -14,8 +14,12 @@ class Socket Socket(const Address & address); /// Constructeur à partir d'un fd Socket(int socket); + /// Constructeur par recopie + Socket(Socket & socket); /// Destructeur ~Socket(void); + /// operateur d'affectation + Socket & operator= (Socket & socket); /// Connect le client au serveur void connect(const Address & address); /// Ecoute le port -- cgit v1.2.3