From 18fce607a67f0dcde6c3ba6f09b589218a1a0f4c Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Thu, 14 Nov 2013 12:33:54 +0000 Subject: [PATCH] receiver complete change.dont check out git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@686 951219d9-93cf-4727-9268-0efd64621fa3 --- slsDetectorSoftware/MySocketTCP/genericSocket.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slsDetectorSoftware/MySocketTCP/genericSocket.h b/slsDetectorSoftware/MySocketTCP/genericSocket.h index fc5e6e791..af08337a9 100644 --- a/slsDetectorSoftware/MySocketTCP/genericSocket.h +++ b/slsDetectorSoftware/MySocketTCP/genericSocket.h @@ -424,8 +424,7 @@ enum communicationProtocol{ void ShutDownSocket(){ - if (socketDescriptor != -1) - shutdown(socketDescriptor, SHUT_RDWR); + while(!shutdown(socketDescriptor, SHUT_RDWR)); };