summaryrefslogtreecommitdiff
path: root/i/simulotron/src/gs/test_gs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'i/simulotron/src/gs/test_gs.cc')
-rw-r--r--i/simulotron/src/gs/test_gs.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/i/simulotron/src/gs/test_gs.cc b/i/simulotron/src/gs/test_gs.cc
index 5920a9c..108c000 100644
--- a/i/simulotron/src/gs/test_gs.cc
+++ b/i/simulotron/src/gs/test_gs.cc
@@ -201,10 +201,12 @@ int testGSServer(SocketServer & sockServ)
void testGSClient(int pauseMode)
{
+ while(pauseMode)
+ sleep (10);
try
{
// Création de la socket client
- SocketClient sockClient(adr);
+ SocketClient sockClient;
// Demande de connection
sockClient.connect(Address(std::string("localhost"), 4242));
// Création du transmitter