VirtualBox

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


Ignore:
Timestamp:
Mar 30, 2013 8:39:16 PM (12 years ago)
Author:
vboxsync
Message:

tstRTTcp-1.cpp: More details on test3 on testboxsh1.

File:
1 edited

Legend:

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

    r32810 r45258  
    4646    {
    4747        PRTTCPSERVER pServer;
    48         RTTESTI_CHECK_RC_RETV(RTTcpServerCreate("localhost", 9999, RTTHREADTYPE_DEFAULT, "server-2",
    49                                                 test3Server, NULL, &pServer), VINF_SUCCESS);
    50 
    51         int rc;
     48        int rc = RTTcpServerCreate("localhost", 9999, RTTHREADTYPE_DEFAULT, "server-2",
     49                                   test3Server, NULL, &pServer);
     50        if (rc != VINF_SUCCESS)
     51        {
     52            RTTestIFailed("RTTcpServerCreate -> %Rrc, i=%d", rc, i);
     53            return;
     54        }
     55
    5256        RTSOCKET hSocket;
    5357        RTTESTI_CHECK_RC(rc = RTTcpClientConnect("localhost", 9999, &hSocket), VINF_SUCCESS);
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