error searching

This commit is contained in:
Carl-Benedikt Krüger 2011-07-08 18:03:09 +02:00
parent 91d0177bb1
commit ad919c459b

View file

@ -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 */