- New drivers for EL737 and EL734 high performance
- Changes to makefiles SKIPPED: psi/dornier2.c psi/el734hp.c psi/el737driv.c psi/el737hpdriv.c psi/make_gen psi/makefile_alpha psi/psi.c psi/velodorn.c psi/velodorn.h psi/velodorn.w psi/hardsup/el737_utility.c psi/hardsup/makefile_alpha psi/tecs/makefile_alpha
This commit is contained in:
11
network.c
11
network.c
@ -472,7 +472,7 @@ CreateSocketAdress(
|
||||
/*
|
||||
how may cycles to read in order to have a timeout
|
||||
*/
|
||||
nLoop = timeout/10;
|
||||
nLoop = timeout/5;
|
||||
if(nLoop <= 0)
|
||||
{
|
||||
nLoop = 1;
|
||||
@ -480,7 +480,7 @@ CreateSocketAdress(
|
||||
|
||||
for(i = 0; i < nLoop; i++)
|
||||
{
|
||||
iRet = NETAvailable(self,10);
|
||||
iRet = NETAvailable(self,5);
|
||||
if(iRet < 0)
|
||||
{
|
||||
return iRet;
|
||||
@ -521,6 +521,13 @@ CreateSocketAdress(
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
if(read >= iBufLen)
|
||||
{
|
||||
/*
|
||||
we have filled the buffer but not found a terminator
|
||||
*/
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0; /* timeout! */
|
||||
|
Reference in New Issue
Block a user