summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netcatchat.cpp2
1 files changed, 2 insertions, 0 deletions
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;