error searching
This commit is contained in:
parent
91d0177bb1
commit
ad919c459b
1 changed files with 4 additions and 0 deletions
|
@ -240,6 +240,8 @@ void* client_task(void* e)
|
|||
struct hostent *hp;
|
||||
int n;
|
||||
|
||||
int on = 1;
|
||||
|
||||
sleep(1);
|
||||
|
||||
/* fill in the socket structure with host information */
|
||||
|
@ -254,6 +256,8 @@ void* client_task(void* e)
|
|||
return;
|
||||
}
|
||||
|
||||
setsockopt( sd, IPPROTO_TCP, TCP_NODELAY, (char *) &on, sizeof( on));
|
||||
|
||||
kprintf("connecting with socket nr : %d",sd);
|
||||
/* connect to PORT on HOST */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue