Add function definition to header file
This commit is contained in:
		| @@ -56,6 +56,9 @@ public: | |||||||
| 	/* Returns socket identifier */ | 	/* Returns socket identifier */ | ||||||
| 	int getSockFD(); | 	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 | 	/* This is a pure virtual function (AKA an abstract function). It's purpose | ||||||
| 	is to be redefined by the children classes (client and server). */ | 	is to be redefined by the children classes (client and server). */ | ||||||
| 	virtual int get_type() = 0; | 	virtual int get_type() = 0; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user