mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +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:
parent
215a17ce2c
commit
4728ce7218
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user