For bug fixes
Fork of MTS-Socket by
Diff: Test/TestTCPSocketConnection.h
- Revision:
- 9:b2e3862705fc
- Parent:
- 8:a3b41ec82e63
- Child:
- 10:42220b7df921
--- a/Test/TestTCPSocketConnection.h Mon Jun 16 14:05:19 2014 +0000 +++ b/Test/TestTCPSocketConnection.h Tue Jun 17 21:59:55 2014 +0000 @@ -40,8 +40,9 @@ "q quit" ">:"; -const char TEST_SERVER[] = "204.26.122.5"; -const int TEST_PORT = 7000; +const char TCP_TEST_SERVER[] = ""; +const int TCP_TEST_PORT = -1; +const char APN[] = ""; TestTCPSocketConnection::TestTCPSocketConnection() : TestCollection("TestTCPSocketConnection") {} @@ -113,7 +114,7 @@ if (i >= 5) { return false; } - if (! sock->connect(TEST_SERVER, TEST_PORT)) { + if (! sock->connect(TCP_TEST_SERVER, TCP_TEST_PORT)) { break; } else { wait(1);