mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 10:44:39 +01:00
shutdown bug
This commit is contained in:
@@ -446,7 +446,7 @@ enum communicationProtocol{
|
||||
close(file_des);
|
||||
}
|
||||
else {
|
||||
ShutDownSocket();
|
||||
while(!shutdown(socketDescriptor, SHUT_RDWR));
|
||||
close(socketDescriptor);
|
||||
socketDescriptor=-1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user