PSI update

r1464 | ffr | 2007-02-12 12:20:21 +1100 (Mon, 12 Feb 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-02-12 12:20:21 +11:00
committed by Douglas Clowes
parent 634f2023b1
commit 3168325921
157 changed files with 29053 additions and 910 deletions

View File

@@ -424,9 +424,14 @@ CreateSocketAdress(
return 0;
}
#ifndef CYGNUS
/* setup for select first */
tmo.tv_usec = 100;
/*
* Check if the we can write to the socket first....
* Well, this how it should be. However, on linux I observe that
* there is a problem with Java clients not reliably receiving data when
* this is active.
*/
#ifndef CYGNUS
tmo.tv_usec = 10;
FD_ZERO(&lMask);
FD_SET(self->sockid,&lMask);
if((self->sockid >= FD_SETSIZE) || (self->sockid < 0) )
@@ -445,7 +450,8 @@ CreateSocketAdress(
{
return -2;
}
#endif
#endif
iRet = send(self->sockid,buffer,lLen,0);
if(iRet != lLen)
{