This commit is contained in:
Carl-Benedikt Krüger 2011-06-27 12:56:28 +02:00
parent 9ced49c303
commit be6ed47b85

View file

@ -236,9 +236,10 @@ void* client_task(void* e)
kprintf("connecting");
/* connect to PORT on HOST */
retry:
if (connect(sd,(struct sockaddr *) &pin, sizeof(pin)) == -1) {
kprintf("connectfail");
return;
goto retry;
}
kprintf("sending");
/* send a message to the server PORT on machine HOST */