mirror of
https://repo.or.cz/socat.git
synced 2025-07-06 21:16:34 +00:00
New option bind-tempname for parallel UNIX domain SENDTO clients
This commit is contained in:
parent
8641344c73
commit
b2914a0cf3
17 changed files with 551 additions and 86 deletions
2
error.c
2
error.c
|
@ -128,6 +128,8 @@ static int diag_sock_pair(void) {
|
|||
fcntl(diag_sock_send, F_SETFL, O_NONBLOCK);
|
||||
fcntl(diag_sock_recv, F_SETFL, O_NONBLOCK);
|
||||
#endif
|
||||
fcntl(diag_sock_send, F_SETFD, FD_CLOEXEC);
|
||||
fcntl(diag_sock_recv, F_SETFD, FD_CLOEXEC);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue