PSI sics-cvs-psi-complete-tree-post-site-support

This commit is contained in:
2004-03-09 15:18:11 +00:00
committed by Douglas Clowes
parent 6373f6b0fb
commit ae77364de2
196 changed files with 8344 additions and 3485 deletions

View File

@@ -32,7 +32,15 @@ static void syncLogin(void)
connect
*/
connection = NETConnect(hostname, port);
NETRead(connection,pBueffel,1020,10*1000);
for(i = 0; i < 10; i++)
{
NETRead(connection,pBueffel,1020,10*1000);
if(strstr(pBueffel,"OK") != NULL)
{
break;
}
SicsWait(1);
}
if(connection != NULL)
{
/*
@@ -49,7 +57,7 @@ static void syncLogin(void)
}
pBueffel[0] = '\0';
for(i = 0; i < 10; i++)
for(i = 0; i < 60; i++)
{
memset(pRead,0,80);
test = NETRead(connection,pRead,70,10*1000);