mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
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:
@ -222,6 +222,8 @@ enum communicationProtocol{
|
|||||||
if((p == UDP) && (setsockopt(socketDescriptor, SOL_SOCKET, SO_RCVBUF, &val, sizeof(int)) == -1))
|
if((p == UDP) && (setsockopt(socketDescriptor, SOL_SOCKET, SO_RCVBUF, &val, sizeof(int)) == -1))
|
||||||
{
|
{
|
||||||
cerr << "Cannot set socket receive buffer size" << endl;
|
cerr << "Cannot set socket receive buffer size" << endl;
|
||||||
|
socketDescriptor=-1;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user