test/test-tcp-socket.cc
changeset 275 9055b93b8b08
parent 202 0d6612e7d5f5
child 320 b837248c02d9
equal deleted inserted replaced
274:d45e93cd80f0 275:9055b93b8b08
   186   status = close (sock);
   186   status = close (sock);
   187   TEST_ASSERT_EQUAL (status, 0);
   187   TEST_ASSERT_EQUAL (status, 0);
   188 
   188 
   189   printf ("Client2: end \n \n ");
   189   printf ("Client2: end \n \n ");
   190 
   190 
       
   191   sleep (3);
   191   return arg;
   192   return arg;
   192 }
   193 }
   193 
   194 
   194 static void *
   195 static void *
   195 server2 (void *arg)
   196 server2 (void *arg)
  1299   TEST_ASSERT_EQUAL (status, 0);
  1300   TEST_ASSERT_EQUAL (status, 0);
  1300 
  1301 
  1301   fflush (stdout);
  1302   fflush (stdout);
  1302   fflush (stderr);
  1303   fflush (stderr);
  1303   sleep (1); // TEMPOFUR if removed can crash :(
  1304   sleep (1); // TEMPOFUR if removed can crash :(
       
  1305   printf ("launch ended\n\n ");
  1304 }
  1306 }
  1305 
  1307 
  1306 int LongCompare (const void *A, const void *B)
  1308 int LongCompare (const void *A, const void *B)
  1307 {
  1309 {
  1308   long *a = (long*)A;
  1310   long *a = (long*)A;