mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-30 16:11:19 +01:00
included the stop for receiver users, and the start returns
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user