summaryrefslogtreecommitdiff
path: root/tests/api_test/client6.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/api_test/client6.c')
-rw-r--r--tests/api_test/client6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/api_test/client6.c b/tests/api_test/client6.c
index ee08d4b..a4aadd4 100644
--- a/tests/api_test/client6.c
+++ b/tests/api_test/client6.c
@@ -55,9 +55,11 @@ int main(int argc, char *argv[]) {
if (n < 0)
error("ERROR writing to socket");
+ printf("sent %d bytes\n", n);
memset(buffer, 0, 256);
//Sockets Layer Call: recv()
+ printf("reading...\n");
n = recv(sockfd, buffer, 255, 0);
if (n < 0)
error("ERROR reading from socket");