- Added support for accessing the exe file management functions from scripts
- Fixed a bug in hmdata.c - Fixed an issue with tempoerature writing through RemObjects in mesure - Added auxiliary reflections to tasub - Make maximize use soft motor positions
This commit is contained in:
14
network.c
14
network.c
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user