summaryrefslogtreecommitdiff
path: root/i/simulotron/src/socket/socket.hh
diff options
context:
space:
mode:
Diffstat (limited to 'i/simulotron/src/socket/socket.hh')
-rw-r--r--i/simulotron/src/socket/socket.hh4
1 files changed, 4 insertions, 0 deletions
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