1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-09 21:56:33 +00:00

replaced select() by poll() in comments

This commit is contained in:
Gerhard Rieger 2008-09-04 23:42:52 +02:00
parent e142c3da6b
commit 1924e17cf0
6 changed files with 20 additions and 20 deletions

View file

@ -251,7 +251,7 @@ int xioopen_ipdgram_listen(int argc, const char *argv[], struct opt *opts,
}
break;
}
/* server: continue loop with select */
/* server: continue loop with socket()+recvfrom() */
/* when we dont close this we get awkward behaviour on Linux 2.4:
recvfrom gives 0 bytes with invalid socket address */
if (Close(fd->stream.fd) < 0) {