included the stop for receiver users, and the start returns

This commit is contained in:
Maliakal Dhanya
2014-05-23 18:24:52 +02:00
parent 75db3914f2
commit 1f2c98b0fa
4 changed files with 8 additions and 4 deletions

View File

@@ -89,9 +89,9 @@ int main(int argc, char *argv[]) {
break;
}
char *temp[] = {"rx_tcpport", "1957", NULL};
char *temp[] = {"receiver", NULL};
/** returning when acquisition is finished or data are avilable */
std::cout << "answer to a get command:" << pDetector->putCommand(2,temp,0) << std::endl;
std::cout << "answer to a get command:" << pDetector->getCommand(1,temp,0) << std::endl;
delete pDetector;