mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 08:38:00 +02:00
sorted the receiver client interface, more manageable
This commit is contained in:
@ -50,6 +50,10 @@ int main(int argc, char *argv[]) {
|
||||
//Catch signal SIGINT to close files properly
|
||||
signal(SIGINT,closeFile);
|
||||
|
||||
// if socket crash, ignores SISPIPE, prevents global signal handler
|
||||
// subsequent read/write to socket gives error - must handle locally
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
//system("setterm -linux term -background white -clear");
|
||||
|
||||
int ret = slsReceiverDefs::OK;
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user