Updated header files to reflect recent change in implementation files
This commit is contained in:
@@ -7,6 +7,10 @@ It inherits from the 'Sock' class. */
|
||||
|
||||
class Server : public Sock {
|
||||
|
||||
private:
|
||||
/* Address of the peer/client */
|
||||
std::string peer_addr;
|
||||
|
||||
public:
|
||||
/* Constructors */
|
||||
Server() {}
|
||||
@@ -29,5 +33,11 @@ public:
|
||||
|
||||
/* Receive data from peer socket */
|
||||
std::string recvAll();
|
||||
|
||||
/* Return the address of the peer */
|
||||
std::string get_peer_addr();
|
||||
|
||||
/* Return the type of socket */
|
||||
int get_type() override;
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user