mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
implemented multiple clients in Friend Server
This commit is contained in:
parent
21ea281df4
commit
8e4a9e6a38
6 changed files with 246 additions and 63 deletions
|
@ -8,10 +8,10 @@ public:
|
|||
void start() {}
|
||||
void stop() {}
|
||||
|
||||
void checkServerAddress_async(const std::string&,uint16_t, const std::function<void (bool result_status)>& callback)
|
||||
void checkServerAddress_async(const std::string& addr,uint16_t, const std::function<void (const std::string& address,bool result_status)>& callback)
|
||||
{
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||
callback(true);
|
||||
callback(addr,true);
|
||||
}
|
||||
void setServerAddress(const std::string&,uint16_t) {}
|
||||
void setFriendsToRequest(uint32_t) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue