ndt-dev - [ndt] r325 committed - catch return code for send_msg call when doing the S2C test_prepare me...
Subject: NDT-DEV email list created
List archive
[ndt] r325 committed - catch return code for send_msg call when doing the S2C test_prepare me...
Chronological Thread
- From:
- To:
- Subject: [ndt] r325 committed - catch return code for send_msg call when doing the S2C test_prepare me...
- Date: Wed, 24 Mar 2010 03:17:12 +0000
Revision: 325
Author: rcarlson501
Date: Tue Mar 23 20:16:43 2010
Log: catch return code for send_msg call when doing the S2C test_prepare message
exchange.
RAC 3/23/10
http://code.google.com/p/ndt/source/detail?r=325
Modified:
/trunk/src/testoptions.c
=======================================
--- /trunk/src/testoptions.c Tue Mar 23 19:36:09 2010
+++ /trunk/src/testoptions.c Tue Mar 23 20:16:43 2010
@@ -947,7 +947,11 @@
/* Data received from speed-chk, tell applet to start next test */
sprintf(buff, "%d", testOptions->s2csockport);
- send_msg(ctlsockfd, TEST_PREPARE, buff, strlen(buff));
+ j = send_msg(ctlsockfd, TEST_PREPARE, buff, strlen(buff));
+ if (j == -1)
+ log_println(6, "S2C %d Error!, Test start message not sent!", testOptions->child0);
+ if (j == -2)
+ log_println(6, "S2C %d Error!, server port [%s] not sent!", testOptions->child0, buff);
/* ok, await for connect on 3rd port
* This is the second throughput test, with data streaming from
- [ndt] r325 committed - catch return code for send_msg call when doing the S2C test_prepare me..., ndt, 03/23/2010
Archive powered by MHonArc 2.6.16.