VirtualBox

Changeset 57970 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Sep 30, 2015 2:56:34 PM (9 years ago)
Author:
vboxsync
Message:

Runtime: fixed parameters for RTUdpCreateClientSocket

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTUdp-1.cpp

    r57957 r57970  
    3030#include <iprt/string.h>
    3131#include <iprt/test.h>
    32 
    33 #define RT_TEST_UDP_CLIENT_ADDRESS     "localhost"
    34 #define RT_TEST_UDP_CLIENT_PORT        52001
    3532
    3633/* Server address must be "localhost" */
     
    9996    int rc;
    10097    RTSOCKET hSocket;
    101     RTTESTI_CHECK_RC(rc = RTUdpCreateClientSocket(RT_TEST_UDP_CLIENT_ADDRESS, RT_TEST_UDP_CLIENT_PORT, &ServerAddress, &hSocket),
    102                      VINF_SUCCESS);
     98    RTTESTI_CHECK_RC(rc = RTUdpCreateClientSocket(RT_TEST_UDP_LOCAL_HOST, RT_TEST_UDP_SERVER_PORT, NULL, &hSocket), VINF_SUCCESS);
    10399    if (RT_SUCCESS(rc))
    104100    {
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