readErrorMessage

This commit is contained in:
Erik Frojdh
2020-07-31 13:32:53 +02:00
parent 459a715b9c
commit d5b893e452
4 changed files with 19 additions and 20 deletions

View File

@ -15,6 +15,7 @@ class ClientSocket : public DataSocket {
int sendCommandThenRead(int fnum, const void *args, size_t args_size,
void *retval, size_t retval_size);
std::string readErrorMessage();
private:
void readReply(int &ret, void *retval, size_t retval_size);
struct sockaddr_in serverAddr {};