Add function definition to header file

This commit is contained in:
2025-07-18 11:11:45 -04:00
parent 2b911105a7
commit 100dc94bd3

View File

@@ -56,6 +56,9 @@ public:
/* Returns socket identifier */
int getSockFD();
/* Returns whether or not the given socket is connected to a remote address */
bool has_remote_address();
/* This is a pure virtual function (AKA an abstract function). It's purpose
is to be redefined by the children classes (client and server). */
virtual int get_type() = 0;