Changeset 45258 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 30, 2013 8:39:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTTcp-1.cpp
r32810 r45258 46 46 { 47 47 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 52 56 RTSOCKET hSocket; 53 57 RTTESTI_CHECK_RC(rc = RTTcpClientConnect("localhost", 9999, &hSocket), VINF_SUCCESS);
Note:
See TracChangeset
for help on using the changeset viewer.