mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-21 01:46:02 +01: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