Skip to content

Commit ee46d03

Browse files
authored
Merge pull request #11861 from trowbridgec/update-ep-agora-target
Replace calls to printf() with mbed-trace in netsocket tests
2 parents 60a470a + a1edbb9 commit ee46d03

34 files changed

+151
-134
lines changed

TESTS/integration/COMMON/common_defines_test.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
* See the License for the specific language governing permissions and
1717
* limitations under the License.
1818
*/
19+
#include "mbed_trace.h"
20+
21+
#define TRACE_GROUP "GRNT"
1922

2023
#define ETHERNET 1
2124
#define WIFI 2

TESTS/integration/COMMON/download_test.cpp

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "unity/unity.h"
2828
#include "greentea-client/test_env.h"
2929
#include <string>
30+
#include "common_defines_test.h"
3031

3132
#define MAX_THREADS 5
3233

@@ -93,7 +94,7 @@ size_t download_test(NetworkInterface *interface, const unsigned char *data, siz
9394
break;
9495
}
9596
ThisThread::sleep_for(1000);
96-
printf("[NET-%d] Connection failed. Retry %d of %d\r\n", thread_id, tries, MAX_RETRIES);
97+
tr_info("[NET-%d] Connection failed. Retry %d of %d", thread_id, tries, MAX_RETRIES);
9798
}
9899
TEST_ASSERT_EQUAL_INT_MESSAGE(0, result, "failed to connect");
99100

@@ -111,7 +112,7 @@ size_t download_test(NetworkInterface *interface, const unsigned char *data, siz
111112
} else {
112113
TEST_ASSERT_MESSAGE(0, "wrong thread id");
113114
}
114-
printf("[NET-%d] Registered socket callback function\r\n", thread_id);
115+
tr_info("[NET-%d] Registered socket callback function", thread_id);
115116
event_fired[thread_id] = false;
116117

117118
/* setup request */
@@ -120,7 +121,7 @@ size_t download_test(NetworkInterface *interface, const unsigned char *data, siz
120121
/* construct request */
121122
size_t req_len = snprintf(request, REQ_BUF_SIZE - 1, req_template, dl_path, dl_host);
122123
request[req_len] = 0;
123-
printf("[NET-%d] Request header (%u): %s\r\n", thread_id, req_len, request);
124+
tr_info("[NET-%d] Request header (%u): %s", thread_id, req_len, request);
124125

125126
/* send request to server */
126127
result = tcpsocket.send(request, req_len);
@@ -130,7 +131,7 @@ size_t download_test(NetworkInterface *interface, const unsigned char *data, siz
130131
char *receive_buffer = &g_receive_buffer[thread_id * RECV_BUF_SIZE];
131132

132133
tcpsocket.set_blocking(false);
133-
printf("[NET-%d] Non-blocking socket mode set\r\n", thread_id);
134+
tr_info("[NET-%d] Non-blocking socket mode set", thread_id);
134135

135136
size_t received_bytes = 0;
136137
int body_index = -1;
@@ -166,7 +167,7 @@ size_t download_test(NetworkInterface *interface, const unsigned char *data, siz
166167
if (body_index < 0) {
167168
continue;
168169
} else {
169-
printf("[NET-%d] Found body index: %d\r\n", thread_id, body_index);
170+
tr_info("[NET-%d] Found body index: %d", thread_id, body_index);
170171

171172
/* remove header before comparison */
172173
memmove(receive_buffer, &receive_buffer[body_index + 4], result - body_index - 4);
@@ -186,9 +187,9 @@ size_t download_test(NetworkInterface *interface, const unsigned char *data, siz
186187
speed = float(received_bytes) / timer.read();
187188
percent = float(received_bytes) * 100 / float(data_length);
188189
time_left = (data_length - received_bytes) / speed;
189-
printf("[NET-%d] Received bytes: %u, (%.2f%%, %.2fKB/s, ETA: %02d:%02d:%02d)\r\n",
190-
thread_id, received_bytes, percent, speed / 1024,
191-
time_left / 3600, (time_left / 60) % 60, time_left % 60);
190+
tr_info("[NET-%d] Received bytes: %u, (%.2f%%, %.2fKB/s, ETA: %02d:%02d:%02d)",
191+
thread_id, received_bytes, percent, speed / 1024,
192+
time_left / 3600, (time_left / 60) % 60, time_left % 60);
192193
}
193194
} while ((result > 0) && (received_bytes < data_length));
194195
}
@@ -197,10 +198,10 @@ size_t download_test(NetworkInterface *interface, const unsigned char *data, siz
197198

198199
timer.stop();
199200
float f_received_bytes = float(received_bytes);
200-
printf("[NET-%d] Downloaded: %.2fKB (%.2fKB/s, %.2f secs)\r\n", thread_id,
201-
f_received_bytes / 1024.,
202-
f_received_bytes / (timer.read() * 1024.),
203-
timer.read());
201+
tr_info("[NET-%d] Downloaded: %.2fKB (%.2fKB/s, %.2f secs)", thread_id,
202+
f_received_bytes / 1024.,
203+
f_received_bytes / (timer.read() * 1024.),
204+
timer.read());
204205

205206
return received_bytes;
206207
}

TESTS/integration/COMMON/file_test.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
#include "mbed.h"
2626
#include "unity/unity.h"
27+
#include "common_defines_test.h"
2728

2829
void file_test_write(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size)
2930
{
@@ -58,8 +59,8 @@ void file_test_write(const char *file, size_t offset, const unsigned char *data,
5859
TEST_ASSERT_EQUAL_INT_MESSAGE(0, result, "could not close file");
5960

6061
timer.stop();
61-
printf("[FS] Wrote: \"%s\" %.2fKB (%.2fKB/s, %.2f secs)\r\n", file,
62-
float(data_length) / 1024, float(data_length) / timer.read() / 1024, timer.read());
62+
tr_info("[FS] Wrote: \"%s\" %.2fKB (%.2fKB/s, %.2f secs)", file,
63+
float(data_length) / 1024, float(data_length) / timer.read() / 1024, timer.read());
6364
}
6465

6566
void file_test_read(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size)
@@ -100,8 +101,8 @@ void file_test_read(const char *file, size_t offset, const unsigned char *data,
100101

101102
free(buffer);
102103

103-
printf("[FS] Read : \"%s\" %.2fKB (%.2fKB/s, %.2f secs)\r\n", file,
104-
float(data_length) / 1024, float(data_length) / timer.read() / 1024, timer.read());
104+
tr_info("[FS] Read : \"%s\" %.2fKB (%.2fKB/s, %.2f secs)", file,
105+
float(data_length) / 1024, float(data_length) / timer.read() / 1024, timer.read());
105106
}
106107

107108
#endif //#if INTEGRATION_TESTS

TESTS/integration/net-single/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ static control_t setup_network(const size_t call_count)
6868
if (err == NSAPI_ERROR_OK) {
6969
break;
7070
} else {
71-
printf("[ERROR] Connecting to network. Retrying %d of %d.\r\n", tries, MAX_RETRIES);
71+
tr_error("[ERROR] Connecting to network. Retrying %d of %d.", tries, MAX_RETRIES);
7272
}
7373
}
7474
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, err);
75-
printf("[NET] IP address is '%s'\n", interface->get_ip_address());
76-
printf("[NET] MAC address is '%s'\n", interface->get_mac_address());
75+
tr_info("[NET] IP address is '%s'", interface->get_ip_address());
76+
tr_info("[NET] MAC address is '%s'", interface->get_mac_address());
7777
return CaseNext;
7878
}
7979

TESTS/integration/net-threaded/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ static control_t setup_network(const size_t call_count)
6868
if (err == NSAPI_ERROR_OK) {
6969
break;
7070
} else {
71-
printf("[ERROR] Connecting to network. Retrying %d of %d.\r\n", tries, MAX_RETRIES);
71+
tr_error("[ERROR] Connecting to network. Retrying %d of %d.", tries, MAX_RETRIES);
7272
}
7373
}
7474
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, err);
75-
printf("[NET] IP address is '%s'\n", net->get_ip_address());
76-
printf("[NET] MAC address is '%s'\n", net->get_mac_address());
75+
tr_info("[NET] IP address is '%s'", net->get_ip_address());
76+
tr_info("[NET] MAC address is '%s'", net->get_mac_address());
7777
return CaseNext;
7878
}
7979

TESTS/integration/stress-net-fs/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ static control_t setup_network(const size_t call_count)
7373
if (err == NSAPI_ERROR_OK) {
7474
break;
7575
} else {
76-
printf("[ERROR] Connecting to network. Retrying %d of %d...\r\n", tries, MAX_RETRIES);
76+
tr_error("[ERROR] Connecting to network. Retrying %d of %d...", tries, MAX_RETRIES);
7777
}
7878
}
7979
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, err);
80-
printf("[NET] IP address is '%s'\n", interface->get_ip_address());
81-
printf("[NET] MAC address is '%s'\n", interface->get_mac_address());
80+
tr_info("[NET] IP address is '%s'", interface->get_ip_address());
81+
tr_info("[NET] MAC address is '%s'", interface->get_mac_address());
8282
return CaseNext;
8383
}
8484

@@ -206,7 +206,7 @@ void test_malloc()
206206

207207
void *bufferTest = NULL;
208208
TEST_ASSERT_MESSAGE(size > 0, "Size must not be zero for test");
209-
printf("Allocating %d bytes", (int)size);
209+
tr_info("Allocating %d bytes", (int)size);
210210
bufferTest = malloc(size);
211211
TEST_ASSERT(bufferTest != NULL);
212212
free(bufferTest);

TESTS/netsocket/dns/asynchronous_dns_cache.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ void ASYNCHRONOUS_DNS_CACHE()
5959
int delay_ms = (ticker_us - started_us) / 1000;
6060

6161
static int delay_first = delay_ms / 2;
62-
printf("Delays: first: %i, delay_ms: %i\n", delay_first, delay_ms);
62+
tr_info("Delays: first: %i, delay_ms: %i", delay_first, delay_ms);
6363
// Check that cached accesses are at least twice as fast as the first one
6464
TEST_ASSERT_TRUE(i == 0 || delay_ms <= delay_first);
6565

66-
printf("DNS: query \"%s\" => \"%s\", time %i ms\n",
67-
dns_test_hosts[0], data.addr.get_ip_address(), delay_ms);
66+
tr_info("DNS: query \"%s\" => \"%s\", time %i ms",
67+
dns_test_hosts[0], data.addr.get_ip_address(), delay_ms);
6868
}
6969
}
7070
#endif // defined(MBED_CONF_RTOS_PRESENT)

TESTS/netsocket/dns/asynchronous_dns_cancel.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void ASYNCHRONOUS_DNS_CANCEL()
4444
count++;
4545
} else {
4646
// No memory to initiate DNS query, callback will not be called
47-
printf("Error: No resources to initiate DNS query for %s\n", dns_test_hosts[i]);
47+
tr_error("Error: No resources to initiate DNS query for %s", dns_test_hosts[i]);
4848
data[i].result = data[i].req_result;
4949
data[i].value_set = true;
5050
}
@@ -65,21 +65,21 @@ void ASYNCHRONOUS_DNS_CANCEL()
6565

6666
for (unsigned int i = 0; i < MBED_CONF_APP_DNS_TEST_HOSTS_NUM; i++) {
6767
if (!data[i].value_set) {
68-
printf("DNS: query \"%s\" => cancel\n", dns_test_hosts[i]);
68+
tr_info("DNS: query \"%s\" => cancel", dns_test_hosts[i]);
6969
continue;
7070
}
7171
TEST_ASSERT(data[i].result == NSAPI_ERROR_OK || data[i].result == NSAPI_ERROR_NO_MEMORY || data[i].result == NSAPI_ERROR_BUSY || data[i].result == NSAPI_ERROR_DNS_FAILURE || data[i].result == NSAPI_ERROR_TIMEOUT);
7272
if (data[i].result == NSAPI_ERROR_OK) {
73-
printf("DNS: query \"%s\" => \"%s\"\n",
74-
dns_test_hosts[i], data[i].addr.get_ip_address());
73+
tr_info("DNS: query \"%s\" => \"%s\"",
74+
dns_test_hosts[i], data[i].addr.get_ip_address());
7575
} else if (data[i].result == NSAPI_ERROR_DNS_FAILURE) {
76-
printf("DNS: query \"%s\" => DNS failure\n", dns_test_hosts[i]);
76+
tr_error("DNS: query \"%s\" => DNS failure", dns_test_hosts[i]);
7777
} else if (data[i].result == NSAPI_ERROR_TIMEOUT) {
78-
printf("DNS: query \"%s\" => timeout\n", dns_test_hosts[i]);
78+
tr_error("DNS: query \"%s\" => timeout", dns_test_hosts[i]);
7979
} else if (data[i].result == NSAPI_ERROR_NO_MEMORY) {
80-
printf("DNS: query \"%s\" => no memory\n", dns_test_hosts[i]);
80+
tr_error("DNS: query \"%s\" => no memory", dns_test_hosts[i]);
8181
} else if (data[i].result == NSAPI_ERROR_BUSY) {
82-
printf("DNS: query \"%s\" => busy\n", dns_test_hosts[i]);
82+
tr_error("DNS: query \"%s\" => busy", dns_test_hosts[i]);
8383
}
8484
}
8585

TESTS/netsocket/dns/asynchronous_dns_non_async_and_async.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ void ASYNCHRONOUS_DNS_NON_ASYNC_AND_ASYNC()
4141
for (unsigned int i = 0; i < MBED_CONF_APP_DNS_TEST_HOSTS_NUM; i++) {
4242
SocketAddress addr;
4343
int err = get_interface()->gethostbyname(dns_test_hosts[i], &addr);
44-
printf("DNS: query \"%s\" => \"%s\"\n",
45-
dns_test_hosts[i], addr.get_ip_address());
44+
tr_info("DNS: query \"%s\" => \"%s\"",
45+
dns_test_hosts[i], addr.get_ip_address());
4646

4747
TEST_ASSERT_EQUAL(0, err);
4848
TEST_ASSERT((bool)addr);
@@ -53,8 +53,8 @@ void ASYNCHRONOUS_DNS_NON_ASYNC_AND_ASYNC()
5353

5454
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, data.result);
5555

56-
printf("DNS: query \"%s\" => \"%s\"\n",
57-
dns_test_hosts_second[0], data.addr.get_ip_address());
56+
tr_info("DNS: query \"%s\" => \"%s\"",
57+
dns_test_hosts_second[0], data.addr.get_ip_address());
5858

5959
TEST_ASSERT(strlen(data.addr.get_ip_address()) > 1);
6060
}

TESTS/netsocket/dns/dns_tests.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
#define DNS_TESTS_H
2020

2121
#include "nsapi_dns.h"
22+
#include "mbed_trace.h"
23+
24+
#define TRACE_GROUP "GRNT"
2225

2326
#ifndef MBED_CONF_APP_DNS_SIMULT_QUERIES
2427
#ifdef MBED_CONF_CELLULAR_OFFLOAD_DNS_QUERIES

TESTS/netsocket/dns/main.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,20 @@ void do_asynchronous_gethostbyname(const char hosts[][DNS_TEST_HOST_LEN], unsign
9494
TEST_ASSERT(data[i].result == NSAPI_ERROR_OK || data[i].result == NSAPI_ERROR_NO_MEMORY || data[i].result == NSAPI_ERROR_BUSY || data[i].result == NSAPI_ERROR_DNS_FAILURE || data[i].result == NSAPI_ERROR_TIMEOUT);
9595
if (data[i].result == NSAPI_ERROR_OK) {
9696
(*exp_ok)++;
97-
printf("DNS: query \"%s\" => \"%s\"\n",
98-
hosts[i], data[i].addr.get_ip_address());
97+
tr_info("DNS: query \"%s\" => \"%s\"",
98+
hosts[i], data[i].addr.get_ip_address());
9999
} else if (data[i].result == NSAPI_ERROR_DNS_FAILURE) {
100100
(*exp_dns_failure)++;
101-
printf("DNS: query \"%s\" => DNS failure\n", hosts[i]);
101+
tr_error("DNS: query \"%s\" => DNS failure", hosts[i]);
102102
} else if (data[i].result == NSAPI_ERROR_TIMEOUT) {
103103
(*exp_timeout)++;
104-
printf("DNS: query \"%s\" => timeout\n", hosts[i]);
104+
tr_error("DNS: query \"%s\" => timeout", hosts[i]);
105105
} else if (data[i].result == NSAPI_ERROR_NO_MEMORY) {
106106
(*exp_no_mem)++;
107-
printf("DNS: query \"%s\" => no memory\n", hosts[i]);
107+
tr_error("DNS: query \"%s\" => no memory", hosts[i]);
108108
} else if (data[i].result == NSAPI_ERROR_BUSY) {
109109
(*exp_no_mem)++;
110-
printf("DNS: query \"%s\" => busy\n", hosts[i]);
110+
tr_error("DNS: query \"%s\" => busy", hosts[i]);
111111
}
112112
}
113113

@@ -131,22 +131,22 @@ void do_gethostbyname(const char hosts[][DNS_TEST_HOST_LEN], unsigned int op_cou
131131

132132
if (err == NSAPI_ERROR_OK) {
133133
(*exp_ok)++;
134-
printf("DNS: query \"%s\" => \"%s\"\n",
135-
hosts[i], address.get_ip_address());
134+
tr_info("DNS: query \"%s\" => \"%s\"",
135+
hosts[i], address.get_ip_address());
136136
} else if (err == NSAPI_ERROR_DNS_FAILURE) {
137137
(*exp_dns_failure)++;
138-
printf("DNS: query \"%s\" => DNS failure\n", hosts[i]);
138+
tr_error("DNS: query \"%s\" => DNS failure", hosts[i]);
139139
} else if (err == NSAPI_ERROR_TIMEOUT) {
140140
(*exp_timeout)++;
141-
printf("DNS: query \"%s\" => timeout\n", hosts[i]);
141+
tr_error("DNS: query \"%s\" => timeout", hosts[i]);
142142
} else if (err == NSAPI_ERROR_NO_MEMORY) {
143143
(*exp_no_mem)++;
144-
printf("DNS: query \"%s\" => no memory\n", hosts[i]);
144+
tr_error("DNS: query \"%s\" => no memory", hosts[i]);
145145
} else if (err == NSAPI_ERROR_BUSY) {
146146
(*exp_no_mem)++;
147-
printf("DNS: query \"%s\" => busy\n", hosts[i]);
147+
tr_error("DNS: query \"%s\" => busy", hosts[i]);
148148
} else {
149-
printf("DNS: query \"%s\" => %d, unexpected answer\n", hosts[i], err);
149+
tr_error("DNS: query \"%s\" => %d, unexpected answer", hosts[i], err);
150150
TEST_ASSERT(err == NSAPI_ERROR_OK || err == NSAPI_ERROR_NO_MEMORY || err == NSAPI_ERROR_BUSY || err == NSAPI_ERROR_DNS_FAILURE || err == NSAPI_ERROR_TIMEOUT);
151151
}
152152
}
@@ -165,13 +165,13 @@ static void net_bringup()
165165
net = NetworkInterface::get_default_instance();
166166
nsapi_error_t err = net->connect();
167167
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, err);
168-
printf("MBED: IP address is '%s'\n", net->get_ip_address() ? net->get_ip_address() : "null");
168+
tr_info("MBED: IP address is '%s'", net->get_ip_address() ? net->get_ip_address() : "null");
169169
}
170170

171171
static void net_bringdown()
172172
{
173173
NetworkInterface::get_default_instance()->disconnect();
174-
printf("MBED: ifdown\n");
174+
tr_info("MBED: ifdown");
175175
}
176176

177177
// Test setup

TESTS/netsocket/dns/synchronous_dns_cache.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ void SYNCHRONOUS_DNS_CACHE()
5252
// Check that cached accesses are at least twice as fast as the first one
5353
TEST_ASSERT_TRUE(i == 0 || delay_ms <= delay_first);
5454

55-
printf("DNS: query \"%s\" => \"%s\", time %i ms\n",
56-
dns_test_hosts[0], address.get_ip_address(), delay_ms);
55+
tr_info("DNS: query \"%s\" => \"%s\", time %i ms",
56+
dns_test_hosts[0], address.get_ip_address(), delay_ms);
5757
}
5858
}
5959
#endif // defined(MBED_CONF_RTOS_PRESENT)

TESTS/netsocket/tcp/main.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ static void _ifup()
7676
NetworkInterface *net = NetworkInterface::get_default_instance();
7777
nsapi_error_t err = net->connect();
7878
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, err);
79-
printf("MBED: TCPClient IP address is '%s'\n", net->get_ip_address() ? net->get_ip_address() : "null");
79+
tr_info("MBED: TCPClient IP address is '%s'", net->get_ip_address() ? net->get_ip_address() : "null");
8080
}
8181

8282
static void _ifdown()
8383
{
8484
NetworkInterface::get_default_instance()->disconnect();
85-
printf("MBED: ifdown\n");
85+
tr_info("MBED: ifdown");
8686
}
8787

8888
nsapi_error_t tcpsocket_connect_to_srv(TCPSocket &sock, uint16_t port)
@@ -92,17 +92,17 @@ nsapi_error_t tcpsocket_connect_to_srv(TCPSocket &sock, uint16_t port)
9292
NetworkInterface::get_default_instance()->gethostbyname(ECHO_SERVER_ADDR, &tcp_addr);
9393
tcp_addr.set_port(port);
9494

95-
printf("MBED: Server '%s', port %d\n", tcp_addr.get_ip_address(), tcp_addr.get_port());
95+
tr_info("MBED: Server '%s', port %d", tcp_addr.get_ip_address(), tcp_addr.get_port());
9696

9797
nsapi_error_t err = sock.open(NetworkInterface::get_default_instance());
9898
if (err != NSAPI_ERROR_OK) {
99-
printf("Error from sock.open: %d\n", err);
99+
tr_error("Error from sock.open: %d", err);
100100
return err;
101101
}
102102

103103
err = sock.connect(tcp_addr);
104104
if (err != NSAPI_ERROR_OK) {
105-
printf("Error from sock.connect: %d\n", err);
105+
tr_error("Error from sock.connect: %d", err);
106106
return err;
107107
}
108108

TESTS/netsocket/tcp/tcp_tests.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
#define TCP_TESTS_H
2020

2121
#include "../test_params.h"
22+
#include "mbed_trace.h"
23+
24+
#define TRACE_GROUP "GRNT"
2225

2326
NetworkInterface *get_interface();
2427
void drop_bad_packets(TCPSocket &sock, int orig_timeout);

0 commit comments

Comments
 (0)