mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Allow specifying network port in server.
This commit is contained in:
@@ -19,7 +19,7 @@ class ResolvService
|
||||
};
|
||||
|
||||
public:
|
||||
ResolvService();
|
||||
ResolvService( int port );
|
||||
~ResolvService();
|
||||
|
||||
void Query( uint32_t ip, const std::function<void(std::string&&)>& callback );
|
||||
@@ -31,6 +31,7 @@ private:
|
||||
std::mutex m_lock;
|
||||
std::condition_variable m_cv;
|
||||
std::vector<QueueItem> m_queue;
|
||||
int m_port;
|
||||
std::thread m_thread;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user