mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-10-30 05:31:28 +01:00
readErrorMessage
This commit is contained in:
1 parent
459a715b9c
commit
d5b893e452
4 files changed
+19
-20
No files matched your search
@@ -101,4 +101,10 @@ void ClientSocket::readReply(int &ret, void *retval, size_t retval_size) {
|
||||
}
|
||||
}
|
||||
|
||||
std::string ClientSocket::readErrorMessage(){
|
||||
std::string error_msg(MAX_STR_LENGTH, '\0');
|
||||
Receive(&error_msg[0], error_msg.size());
|
||||
return error_msg;
|
||||
}
|
||||
|
||||
}; // namespace sls
|
||||
Reference in new issue
Block a user