Changeset 57970 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Sep 30, 2015 2:56:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTUdp-1.cpp
r57957 r57970 30 30 #include <iprt/string.h> 31 31 #include <iprt/test.h> 32 33 #define RT_TEST_UDP_CLIENT_ADDRESS "localhost"34 #define RT_TEST_UDP_CLIENT_PORT 5200135 32 36 33 /* Server address must be "localhost" */ … … 99 96 int rc; 100 97 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); 103 99 if (RT_SUCCESS(rc)) 104 100 {
Note:
See TracChangeset
for help on using the changeset viewer.