...
This commit is contained in:
parent
b11940b7d1
commit
692728500c
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue