Removed unnecessary comments

master
Aadhavan Srinivasan 8 months ago
parent 6593384d2d
commit a47e598b5c

@ -26,6 +26,5 @@ public:
Client(int ip_ver, char protocol, const char* address, int port) : Sock(ip_ver, protocol, address, port) {} 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 #endif

@ -4,8 +4,7 @@
#include "includes/exception_consts.hpp" #include "includes/exception_consts.hpp"
/* /*
Server class - Defines a TCP/UDP server. Server class - Inherits from 'Sock' class - Defines a TCP/UDP server.
- The constructor takes in a **local** address and port, and creates a listening socket on that address/port.
*/ */
class Server : public Sock { 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) {} 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 #endif

Loading…
Cancel
Save