mirror of
https://repo.or.cz/socat.git
synced 2025-07-09 05:46:32 +00:00
New options so-rcvtimeo, so-sndtimeo
This commit is contained in:
parent
2db04378ae
commit
9faf068949
7 changed files with 139 additions and 24 deletions
|
@ -119,6 +119,13 @@ const struct optdesc opt_so_sndlowat = { "so-sndlowat", "sndlowat", OPT_SO_SNDL
|
|||
#endif
|
||||
/* end of setsockopt options of UNIX98 standard */
|
||||
|
||||
#ifdef SO_RCVTIMEO
|
||||
const struct optdesc opt_so_rcvtimeo = { "so-rcvtimeo", "rcvtimeo", OPT_SO_RCVTIMEO, GROUP_SOCKET, PH_PASTSOCKET, TYPE_TIMEVAL, OFUNC_SOCKOPT, SOL_SOCKET, SO_RCVTIMEO };
|
||||
#endif
|
||||
#ifdef SO_SNDTIMEO
|
||||
const struct optdesc opt_so_sndtimeo = { "so-sndtimeo", "sndtimeo", OPT_SO_SNDTIMEO, GROUP_SOCKET, PH_PASTSOCKET, TYPE_TIMEVAL, OFUNC_SOCKOPT, SOL_SOCKET, SO_SNDTIMEO };
|
||||
#endif
|
||||
|
||||
#ifdef SO_AUDIT /* AIX 4.3.3 */
|
||||
const struct optdesc opt_so_audit = { "so-audit", "audit", OPT_SO_AUDIT, GROUP_SOCKET, PH_PASTSOCKET, TYPE_INT, OFUNC_SOCKOPT, SOL_SOCKET, SO_AUDIT };
|
||||
#endif /* SO_AUDIT */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue