Updated header files to reflect recent change in implementation files

This commit is contained in:
2024-02-21 22:26:59 -05:00
parent 4fce513211
commit f0e30f28e9
3 changed files with 35 additions and 6 deletions

View File

@@ -8,8 +8,13 @@
class Client : public Sock {
public:
Client() {}
/* Default constructor - Does nothing */
Client() {};
/* Destructor - defined in client.cpp */
~Client();
/* Normal constructor that calls the parent constructor to set the given values */
Client(int ip_ver, char protocol, const char* address, int port) : Sock(ip_ver, protocol, address, port) {}
void create_socket() override;
@@ -17,5 +22,8 @@ public:
void sendAll(std::string to_send);
std::string recvAll();
/* Return the type of socket */
int get_type() override;
};
#endif