sorted the receiver client interface, more manageable

This commit is contained in:
Dhanya Maliakal
2017-06-30 18:17:33 +02:00
parent a4c07ba9a0
commit f8c04a6a51
6 changed files with 1694 additions and 2216 deletions

View File

@ -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;