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

@@ -90,9 +90,13 @@ int main(int argc, char *argv[]) {
/* start receiver to listen for commands from the client (and data from detectors when expected */
receiver->start();
/** sleep for 10 s*/
usleep(10000000);
/** stop udp socket and tcp socket and thread */
receiver->stop();
return 0;
}