This commit is contained in:
Carl-Benedikt Krüger 2011-06-28 15:55:21 +02:00
parent b11940b7d1
commit 692728500c

View file

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