mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Feat&Improve: Support gen pass code binding with domain
This commit is contained in:
@@ -484,7 +484,8 @@ public:
|
||||
server = svr;
|
||||
OnlineTime = time(0);
|
||||
}
|
||||
uint64_t GetAliveTime()const {
|
||||
uint64_t GetAliveTime()const
|
||||
{
|
||||
return time(0) - OnlineTime;
|
||||
}
|
||||
Server* GetServer()
|
||||
@@ -520,7 +521,8 @@ public:
|
||||
{
|
||||
return PeerName;
|
||||
}
|
||||
void SetPeerName(const std::string& peer) {
|
||||
void SetPeerName(const std::string& peer)
|
||||
{
|
||||
PeerName = peer;
|
||||
}
|
||||
virtual int GetPort() const
|
||||
|
||||
Reference in New Issue
Block a user