...
This commit is contained in:
parent
b33ee0bdf4
commit
15d479862f
2 changed files with 3 additions and 3 deletions
|
@ -21,8 +21,8 @@ int cli_sendBuffer(Client* cli,void* pBuffer, unsigned int bufferlen)
|
|||
return iResult;
|
||||
}
|
||||
else
|
||||
return -2;
|
||||
}
|
||||
return -3;
|
||||
}
|
||||
|
||||
int cli_ConnectTo(Client* cli,char * pAdresse,unsigned short Port,int webAdresse)
|
||||
{
|
||||
|
|
|
@ -326,8 +326,8 @@ void* client_task(void* e)
|
|||
|
||||
while (err)
|
||||
{
|
||||
SHELLDEBUGPRINTF("retry connect err = %d\n",err);
|
||||
err = cli_ConnectTo(&cli,"192.168.0.1",5555,0);
|
||||
SHELLDEBUGPRINTF("retry connect err = %d socket: %d\n",err,cli.sSocket);
|
||||
}
|
||||
SHELLDEBUGPRINTF("connected\n");
|
||||
sleep(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue