mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-24 00:03:10 +08:00
Fix: GetPort issue causing not show host offline log
This commit is contained in:
@@ -527,7 +527,10 @@ public:
|
||||
}
|
||||
virtual int GetPort() const
|
||||
{
|
||||
return sClientSocket;
|
||||
// 第一次返回套接字,后续返回地址栏端口号
|
||||
if (sClientInfo[ONLINELIST_ADDR].IsEmpty())
|
||||
return sClientSocket;
|
||||
return atoi(sClientInfo[ONLINELIST_ADDR]);
|
||||
}
|
||||
CString GetClientData(int index) const override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user