Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HTTPClient-SSL
Dependents: mtsas mtsas mtsas mtsas_lat3
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);