summaryrefslogtreecommitdiff
path: root/i/simulotron/src/socket/socket_server.cc
diff options
context:
space:
mode:
authorhaller2005-12-07 16:36:13 +0000
committerhaller2005-12-07 16:36:13 +0000
commit3e691f04f750340df2d1071e99a5889b9b81c05b (patch)
tree04fd4eb1c8a4378e98a1d805c0234cd2a88bddb6 /i/simulotron/src/socket/socket_server.cc
parent6dd92c230db1e1c27b02f54a86fb710c1d7269fc (diff)
* Ajout d'une fonction getFD dans les classe socket*
* Mini-optimisation dans GSTransmitter * rajout d'une bidouille pour rendre GSTransmitter non bloquant
Diffstat (limited to 'i/simulotron/src/socket/socket_server.cc')
-rw-r--r--i/simulotron/src/socket/socket_server.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/i/simulotron/src/socket/socket_server.cc b/i/simulotron/src/socket/socket_server.cc
index 6014171..662abe0 100644
--- a/i/simulotron/src/socket/socket_server.cc
+++ b/i/simulotron/src/socket/socket_server.cc
@@ -68,3 +68,9 @@ SocketServer::accept (void)
return socket;
}
+
+int
+SocketServer::getFD (void)
+{
+ return socket_;
+}