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.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/i/simulotron/src/socket/socket.hh b/i/simulotron/src/socket/socket.hh
index a1d6d65..3d054fa 100644
--- a/i/simulotron/src/socket/socket.hh
+++ b/i/simulotron/src/socket/socket.hh
@@ -22,6 +22,8 @@ class Socket
void listen(int maxQueue);
/// accepte une connection
Socket accept(Address & address);
+ /// coupe la chaussette
+ void Socket::close(void);
/// lit du socket
std::string read(void);
/// écrit dans le socket