summaryrefslogtreecommitdiff
path: root/i/simulotron/src/socket/socket_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'i/simulotron/src/socket/socket_client.cc')
-rw-r--r--i/simulotron/src/socket/socket_client.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/i/simulotron/src/socket/socket_client.cc b/i/simulotron/src/socket/socket_client.cc
index ef26e70..b8bdbc3 100644
--- a/i/simulotron/src/socket/socket_client.cc
+++ b/i/simulotron/src/socket/socket_client.cc
@@ -112,3 +112,9 @@ SocketClient::putChar (char c)
if (::write (socket_, &c, 1) < 0)
throw errno_exception ("SocketClient: erreur d'écriture (write()) ", errno);
}
+
+int
+SocketClient::getFD(void)
+{
+ return socket_;
+}