Updated header files to reflect recent change in implementation files
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user