VirtualBox

Ignore:
Timestamp:
Aug 25, 2021 4:20:14 PM (3 years ago)
Author:
vboxsync
Message:

Audio/VKAT: More code for TCP/IP connection mode handling; don't do things less implicitly but let the caller (or rather test driver) choose how to connect to the guest/host instead. ​bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/vkatCmdSelfTest.cpp

    r90830 r90887  
    7979    /* Tweak the address the guest ATS is trying to connect to the host if anything else is specified.
    8080     * Note: The host also runs on the same host (this self-test is completely self-contained and does not need a VM). */
    81     if (!pTstEnv->u.Guest.TcpOpts.szTcpConnectAddr[0])
    82         RTStrCopy(pTstEnv->u.Guest.TcpOpts.szTcpConnectAddr, sizeof(pTstEnv->u.Guest.TcpOpts.szTcpConnectAddr), "127.0.0.1");
    83 
    84     int rc = AudioTestSvcCreate(&pTstEnv->u.Guest.Srv);
     81    if (!pTstEnv->TcpOpts.szConnectAddr[0])
     82        RTStrCopy(pTstEnv->TcpOpts.szConnectAddr, sizeof(pTstEnv->TcpOpts.szConnectAddr), "127.0.0.1");
     83
     84    int rc = AudioTestSvcCreate(&pTstEnv->Srv);
    8585    AssertRCReturn(rc, rc);
    8686
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