changing socket buffer size

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@647 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2013-08-06 14:46:06 +00:00
parent 215a17ce2c
commit 4728ce7218

View File

@ -222,6 +222,8 @@ enum communicationProtocol{
if((p == UDP) && (setsockopt(socketDescriptor, SOL_SOCKET, SO_RCVBUF, &val, sizeof(int)) == -1))
{
cerr << "Cannot set socket receive buffer size" << endl;
socketDescriptor=-1;
return;
}