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:
parent
e142c3da6b
commit
1924e17cf0
6 changed files with 20 additions and 20 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue