diff --git a/include/utils/TCPServer.hpp b/include/utils/TCPServer.hpp index a0fff84..8dbcf51 100644 --- a/include/utils/TCPServer.hpp +++ b/include/utils/TCPServer.hpp @@ -31,6 +31,12 @@ protected: return sockfd; } + void setThreadPriority(int32_t priority) { + if(pThread != NULL){ + pThread->setThreadPriority(priority); + } + } + struct sockaddr_in getSockAddr() { return sock_addr; }