VirtualBox

Changeset 100172 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jun 13, 2023 9:58:48 PM (18 months ago)
Author:
vboxsync
Message:

IPRT: tcp.h+tcp.cpp,socket.h+socket.cpp: Add RTTcpSetKeepAlive().
Follow-up build fix to address operating system releases which may
define TCP_KEEPALIVE but not TCP_KEEPINTVL and/or TCP_KEEPCNT such as
Solaris 11.3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/tcp.cpp

    r100171 r100172  
    10101010        return rc;
    10111011
    1012 # if defined(TCP_KEEPIDLE) || defined(TCP_KEEPALIVE)
     1012# if (defined(TCP_KEEPIDLE) || defined(TCP_KEEPALIVE)) && defined(TCP_KEEPINTVL) && defined(TCP_KEEPCNT)
    10131013    rc = VINF_SUCCESS;
    10141014
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette