9m try shutdown of client socket before close

This commit is contained in:
Dhanya Maliakal 2016-10-27 09:17:44 +02:00
parent c2c80c6bf6
commit e908beb38a

View File

@ -446,6 +446,7 @@ enum communicationProtocol{
close(file_des);
}
else {
ShutDownSocket();
close(socketDescriptor);
socketDescriptor=-1;
}