mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
remove mySock
This commit is contained in:
@ -20,7 +20,7 @@ class DataSocket {
|
||||
}
|
||||
size_t sendData(const void *buffer, size_t size);
|
||||
size_t receiveData(void *buffer, size_t size);
|
||||
size_t read(void *buffer, size_t size);
|
||||
ssize_t read(void *buffer, size_t size);
|
||||
int setTimeOut(int t_seconds);
|
||||
int setReceiveTimeout(int us);
|
||||
void close();
|
||||
|
@ -19,6 +19,7 @@ class ServerSocket : public DataSocket {
|
||||
constexpr IpAddr getThisClient() noexcept { return thisClient; }
|
||||
constexpr IpAddr getLockedBy() noexcept { return lockedBy; }
|
||||
void setLockedBy(IpAddr addr){ lockedBy = addr; }
|
||||
void setLastClient(IpAddr addr){ lastClient = addr; }
|
||||
int getPort() const;
|
||||
void SendResult(int &ret, void *retval, int retvalSize, char *mess);
|
||||
|
||||
@ -27,7 +28,6 @@ class ServerSocket : public DataSocket {
|
||||
IpAddr lastClient;
|
||||
IpAddr lockedBy;
|
||||
int serverPort;
|
||||
// char lastClient_[INET_ADDRSTRLEN]{};
|
||||
};
|
||||
|
||||
}; // namespace sls
|
@ -17,8 +17,8 @@
|
||||
#endif
|
||||
|
||||
#ifndef FILELOG_MAX_LEVEL
|
||||
// #define FILELOG_MAX_LEVEL logINFO
|
||||
#define FILELOG_MAX_LEVEL logDEBUG5
|
||||
#define FILELOG_MAX_LEVEL logINFO
|
||||
// #define FILELOG_MAX_LEVEL logDEBUG5
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user