From 36e55334774aea225513ec84adae1a60802d6f74 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 27 Jan 2020 14:56:43 +0100 Subject: Print Connected --- netcatchat.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netcatchat.cpp b/netcatchat.cpp index 8eebda5..377aa51 100644 --- a/netcatchat.cpp +++ b/netcatchat.cpp @@ -65,6 +65,8 @@ static void print_buffer(const char *buffer, size_t len) { } static void communicate(int sock) { + printf("Connected.\n"); + string buffer; string inbuffer; -- cgit v1.2.3-70-g09d2