mirror of
https://repo.or.cz/socat.git
synced 2025-07-22 02:22:57 +00:00
Option accept-timeout (listen-timeout)
This commit is contained in:
parent
aa2b9c00b2
commit
13ac417410
8 changed files with 124 additions and 1 deletions
3
xio.h
3
xio.h
|
@ -182,6 +182,9 @@ typedef struct single {
|
|||
#if _WITH_SOCKET
|
||||
struct {
|
||||
struct timeval connect_timeout; /* how long to hang in connect() */
|
||||
#if WITH_LISTEN
|
||||
struct timeval accept_timeout; /* how long to wait for incoming connection */
|
||||
#endif
|
||||
union sockaddr_union la; /* local socket address */
|
||||
bool null_eof; /* with dgram: empty packet means EOF */
|
||||
bool dorange;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue