diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/examples/nettest/nettest_client.c | 2 | ||||
-rw-r--r-- | apps/examples/nettest/nettest_server.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/nettest/nettest_client.c b/apps/examples/nettest/nettest_client.c index 2e54f1f9b..5f95d7b70 100644 --- a/apps/examples/nettest/nettest_client.c +++ b/apps/examples/nettest/nettest_client.c @@ -82,7 +82,6 @@ void send_client(void) exit(1); } - /* Create a new TCP socket */ sockfd = socket(PF_INET, SOCK_STREAM, 0); @@ -139,6 +138,7 @@ void send_client(void) nbytessent, SENDSIZE); goto errout_with_socket; } + message("Sent %d bytes\n", nbytessent); } #else /* Then send and receive one message */ diff --git a/apps/examples/nettest/nettest_server.c b/apps/examples/nettest/nettest_server.c index 3b153d8c6..45ef3a39a 100644 --- a/apps/examples/nettest/nettest_server.c +++ b/apps/examples/nettest/nettest_server.c @@ -154,6 +154,7 @@ void recv_server(void) message("server: recv failed: %d\n", errno); goto errout_with_acceptsd; } + message("Received %d bytes\n", nbytesread); } #else /* Receive canned message */ |