mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 22:53:24 +00:00
TCP based clients try all results of name resolution until a connection succeeded
This commit is contained in:
parent
2a9623d61c
commit
cb6e16b360
16 changed files with 456 additions and 262 deletions
|
@ -22,7 +22,7 @@ extern int
|
|||
const char *hostname,
|
||||
const char *portname, int *pf, int protocol,
|
||||
unsigned long res_opts0, unsigned long res_opts1,
|
||||
union sockaddr_union *them, socklen_t *themlen,
|
||||
struct addrinfo **res,
|
||||
union sockaddr_union *us, socklen_t *uslen,
|
||||
bool *needbind, bool *lowport,
|
||||
int socktype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue