From a47e598b5cbd9128d7e1cc2dafd9700ceaa52457 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Thu, 15 Feb 2024 07:48:10 -0500 Subject: [PATCH] Removed unnecessary comments --- includes/client.hpp | 1 - includes/server.hpp | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/client.hpp b/includes/client.hpp index 0b173f3..ca31291 100644 --- a/includes/client.hpp +++ b/includes/client.hpp @@ -26,6 +26,5 @@ public: Client(int ip_ver, char protocol, const char* address, int port) : Sock(ip_ver, protocol, address, port) {} -/* TODO - Add comments to better explain the inheritance and polymorphism going on */ }; #endif diff --git a/includes/server.hpp b/includes/server.hpp index 517a1ab..3a1d70b 100644 --- a/includes/server.hpp +++ b/includes/server.hpp @@ -4,8 +4,7 @@ #include "includes/exception_consts.hpp" /* -Server class - Defines a TCP/UDP server. -- The constructor takes in a **local** address and port, and creates a listening socket on that address/port. +Server class - Inherits from 'Sock' class - Defines a TCP/UDP server. */ class Server : public Sock { @@ -27,6 +26,5 @@ public: Server(int ip_ver, char protocol, const char* address, int port) : Sock(ip_ver, protocol, address, port) {} -/* TODO - Add comments to better explain the inheritance and polymorphism going on */ }; #endif