changed buffer size and max input queue in kernel

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@648 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-08-06 15:23:05 +00:00
parent 4728ce7218
commit ad6b9e3617
2 changed files with 20 additions and 6 deletions

View File

@ -221,9 +221,9 @@ enum communicationProtocol{
val = SOCKET_BUFFER_SIZE;
if((p == UDP) && (setsockopt(socketDescriptor, SOL_SOCKET, SO_RCVBUF, &val, sizeof(int)) == -1))
{
cerr << "Cannot set socket receive buffer size" << endl;
socketDescriptor=-1;
return;
cerr << "WARNING:Could not set socket receive buffer size" << endl;
//socketDescriptor=-1;
//return;
}