mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
proper freeng after udpsocket shutdown
This commit is contained in:
@ -443,6 +443,8 @@ typedef struct
|
||||
|
||||
void ShutDownSocket(){
|
||||
while(!shutdown(socketDescriptor, SHUT_RDWR));
|
||||
close(socketDescriptor);
|
||||
socketDescriptor = -1;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user